Commit 93356777 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

Uhm, if I'll be fixing errors like this all over just because I'm enabling...

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...
parent 3b9ee7ec
common @ 92652b8a
Subproject commit fd02f1d955e13407fd27314b1568023bd2061df7
Subproject commit 92652b8acbf06e097070bc6055715b9fca405834
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment