summaryrefslogtreecommitdiffstats
path: root/gst/mpegaudioparse
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-04-04 22:51:07 +0000
committerDavid Schleef <ds@schleef.org>2003-04-04 22:51:07 +0000
commitb32c526e600f3c8e43d686d2b8d4f6b637b887b4 (patch)
tree9602789046a1d187694c894da1b84f76a07078be /gst/mpegaudioparse
parente04f7c36878bfc0aa24eaebcb48b782cce06bd9a (diff)
downloadgst-plugins-bad-b32c526e600f3c8e43d686d2b8d4f6b637b887b4.tar.gz
gst-plugins-bad-b32c526e600f3c8e43d686d2b8d4f6b637b887b4.tar.bz2
gst-plugins-bad-b32c526e600f3c8e43d686d2b8d4f6b637b887b4.zip
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.
Diffstat (limited to 'gst/mpegaudioparse')
-rw-r--r--gst/mpegaudioparse/gstmp3types.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegaudioparse/gstmp3types.c b/gst/mpegaudioparse/gstmp3types.c
index 43c82b69..d02ac867 100644
--- a/gst/mpegaudioparse/gstmp3types.c
+++ b/gst/mpegaudioparse/gstmp3types.c
@@ -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))