diff options
author | Zhao Halley <halley.zhao@intel.com> | 2011-12-08 12:13:38 +0800 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2012-01-05 08:34:35 -0300 |
commit | bb52df5e24a7271f310eebe16a47719262285a79 (patch) | |
tree | f936951e26aa08babe1786e8e7d41f5543c15465 /gst-libs/gst | |
parent | 1138aab1db5d359dade2585c83dc4e61501677a9 (diff) | |
download | gstreamer-plugins-bad-bb52df5e24a7271f310eebe16a47719262285a79.tar.gz |
codecparsers: add missing zero_bits in h263 parsing
Diffstat (limited to 'gst-libs/gst')
-rw-r--r-- | gst-libs/gst/codecparsers/gstmpeg4parser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index ad7fcb638..461196a76 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -1506,6 +1506,10 @@ gst_mpeg4_parse_video_plane_short_header (GstMpeg4VideoPlaneShortHdr * shorthdr->temporal_reference = gst_bit_reader_get_bits_uint8_unchecked (&br, 8); CHECK_MARKER (&br); + zero_bits = gst_bit_reader_get_bits_uint8_unchecked (&br, 1); + if (zero_bits != 0x00) + goto failed; + shorthdr->split_screen_indicator = gst_bit_reader_get_bits_uint8_unchecked (&br, 1); shorthdr->document_camera_indicator = |