mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Partial fix for #109700. Should be applied to 0.6.1.
Original commit message from CVS: Partial fix for #109700. Should be applied to 0.6.1.
This commit is contained in:
parent
c374685124
commit
02e883325a
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ mp3_type_find(GstBuffer *buf, gpointer private)
|
|||
{
|
||||
guint8 *data;
|
||||
gint size;
|
||||
gulong head;
|
||||
guint32 head;
|
||||
GstCaps *caps;
|
||||
|
||||
data = GST_BUFFER_DATA (buf);
|
||||
|
@ -79,7 +79,7 @@ mp3_type_find(GstBuffer *buf, gpointer private)
|
|||
}
|
||||
}
|
||||
/* now with the right postion, do typefinding */
|
||||
head = GULONG_FROM_BE(*((gulong *)data));
|
||||
head = GUINT32_FROM_BE(*((guint32 *)data));
|
||||
if ((head & 0xffe00000) != 0xffe00000)
|
||||
return NULL;
|
||||
if (!((head >> 17) & 3))
|
||||
|
|
Loading…
Reference in a new issue