From d89da92ccf5f61c84280ab1f64ba22d9d39b3c4b Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 7 Apr 2003 20:10:44 +0000 Subject: Fixes #109700 Original commit message from CVS: Fixes #109700 --- gst/mpeg1videoparse/gstmp1videoparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/mpeg1videoparse/gstmp1videoparse.c') diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index c73d6d1b..c3e6fa56 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -241,7 +241,7 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP gint sync_state; gboolean have_sync; guchar sync_byte; - gulong head; + guint32 head; gint sync_pos; guint64 time_stamp; GstBuffer *temp; @@ -278,9 +278,9 @@ gst_mp1videoparse_real_chain (Mp1VideoParse *mp1videoparse, GstBuffer *buf, GstP GST_DEBUG (0,"mp1videoparse: received buffer of %ld bytes %lld",size, GST_BUFFER_TIMESTAMP(buf)); - head = GULONG_FROM_BE(*((gulong *)data)); + head = GUINT32_FROM_BE(*((guint32 *)data)); - GST_DEBUG (0,"mp1videoparse: head is %08lx", head); + GST_DEBUG (0,"mp1videoparse: head is %08x", (unsigned int)head); if (!mp1videoparse_valid_sync(head) || mp1videoparse->need_resync) { sync_pos = mp1videoparse_find_next_gop(mp1videoparse, mp1videoparse->partialbuf); -- cgit v1.2.1