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... --- gst/mpegaudioparse/gstmp3types.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/mpegaudioparse') diff --git a/gst/mpegaudioparse/gstmp3types.c b/gst/mpegaudioparse/gstmp3types.c index 81729d92..a14094ce 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