From 933567778b40e59b2a8f28c1eadafb04f21b05ea Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 21 Feb 2002 13:45:43 +0000 Subject: Uhm, if I'll be fixing errors like this all over just because I'm enabling plugin debug output for the first time, I'... Original commit message from CVS: Uhm, if I'll be fixing errors like this all over just because I'm enabling plugin debug output for the first time, I'm in for a world of hurt over the next few hours... --- common | 2 +- gst/mpegaudioparse/gstmp3types.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common b/common index fd02f1d95..92652b8ac 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit fd02f1d955e13407fd27314b1568023bd2061df7 +Subproject commit 92652b8acbf06e097070bc6055715b9fca405834 diff --git a/gst/mpegaudioparse/gstmp3types.c b/gst/mpegaudioparse/gstmp3types.c index 81729d92d..a14094ce9 100644 --- a/gst/mpegaudioparse/gstmp3types.c +++ b/gst/mpegaudioparse/gstmp3types.c @@ -50,12 +50,12 @@ mp3_typefind(GstBuffer *buf, gpointer private) skip = (((skip & 0x7f000000) >> 3) | ((skip & 0x007f0000) >> 2) | ((skip & 0x00007f00) >> 1) | - ((skip & 0x0000007f) >> 0)) + 4 + ((skip & 0x0000007f) >> 0)) + 4; GST_DEBUG (0, "mp3typefind: detected ID3 Tag with %u bytes\n", skip + 6); /* return if buffer is not big enough */ if (GST_BUFFER_SIZE (buf) < skip + 10) { - GST_DEBUG (0, "mp3typefind: buffer too small to go on typefinding\n", skip + 6); + GST_DEBUG (0, "mp3typefind: buffer too small (%d) to go on typefinding\n", skip + 6); return NULL; } data += skip; -- cgit v1.2.1