mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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:
parent
1792b3a91b
commit
ba8e5463cf
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue