mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
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:
parent
3b9ee7ec91
commit
933567778b
2 changed files with 3 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue