diff options
Diffstat (limited to 'sys/vdpau/mpegutil.c')
-rw-r--r-- | sys/vdpau/mpegutil.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/vdpau/mpegutil.c b/sys/vdpau/mpegutil.c index bba84f2b..5348bd6a 100644 --- a/sys/vdpau/mpegutil.c +++ b/sys/vdpau/mpegutil.c @@ -135,8 +135,11 @@ mpeg_util_parse_sequence_extension (MPEGSeqExtHdr * hdr, GstBuffer * buffer) if (!gst_bit_reader_get_bits_uint8 (&reader, &hdr->vert_size_ext, 2)) return FALSE; + if (!gst_bit_reader_get_bits_uint16 (&reader, &hdr->bitrate_ext, 12)) + return FALSE; + /* skip to framerate extension */ - if (!gst_bit_reader_skip (&reader, 22)) + if (!gst_bit_reader_skip (&reader, 9)) return FALSE; /* framerate extension */ |