From ba8e5463cf219c8a68d0eb2f63d99e52aa8e8c68 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 12 Dec 2006 21:09:16 +0000 Subject: [PATCH] gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous checkin. see #385192. You can have... Original commit message from CVS: * gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant to in the previous checkin. see #385192. You can have your cheese back now. --- ChangeLog | 6 ++++++ gst/mpegstream/gstmpegparse.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 840ef2aed9..89cc319e51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-12-12 David Schleef + + * gst/mpegstream/gstmpegparse.c: Use the GST_READ macro I meant + to in the previous checkin. see #385192. You can have your + cheese back now. + 2006-12-12 David Schleef * gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads diff --git a/gst/mpegstream/gstmpegparse.c b/gst/mpegstream/gstmpegparse.c index 36a6973a1a..f38999a8d8 100644 --- a/gst/mpegstream/gstmpegparse.c +++ b/gst/mpegstream/gstmpegparse.c @@ -515,7 +515,7 @@ gst_mpeg_parse_parse_packhead (GstMPEGParse * mpeg_parse, GstBuffer * buffer) scr - mpeg_parse->current_scr); buf += 6; - new_rate = (GUINT32_FROM_BE (buf) & 0xfffffc00) >> 10; + new_rate = (GST_READ_UINT32_BE (buf) & 0xfffffc00) >> 10; } else { scr = ((guint64) scr1 & 0x0e000000) << 5; scr |= ((guint64) scr1 & 0x00fffe00) << 6;