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...
This commit is contained in:
Thomas Vander Stichele 2002-02-21 13:45:43 +00:00
parent 0adcb9c4e7
commit 3af92ae3d3
2 changed files with 3 additions and 3 deletions

2
common

@ -1 +1 @@
Subproject commit fd02f1d955e13407fd27314b1568023bd2061df7
Subproject commit 92652b8acbf06e097070bc6055715b9fca405834

View file

@ -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;