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.
This commit is contained in:
David Schleef 2006-12-12 21:09:16 +00:00
parent 1792b3a91b
commit ba8e5463cf
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-12-12 David Schleef <ds@schleef.org>
* 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 <ds@schleef.org>
* gst/mpegstream/gstmpegparse.c: Fix unaligned load that loads

View file

@ -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;