codecparsers: add missing zero_bits in h263 parsing

This commit is contained in:
Zhao Halley 2011-12-08 12:13:38 +08:00 committed by Thibault Saunier
parent 1138aab1db
commit bb52df5e24

View file

@ -1506,6 +1506,10 @@ gst_mpeg4_parse_video_plane_short_header (GstMpeg4VideoPlaneShortHdr *
shorthdr->temporal_reference = shorthdr->temporal_reference =
gst_bit_reader_get_bits_uint8_unchecked (&br, 8); gst_bit_reader_get_bits_uint8_unchecked (&br, 8);
CHECK_MARKER (&br); CHECK_MARKER (&br);
zero_bits = gst_bit_reader_get_bits_uint8_unchecked (&br, 1);
if (zero_bits != 0x00)
goto failed;
shorthdr->split_screen_indicator = shorthdr->split_screen_indicator =
gst_bit_reader_get_bits_uint8_unchecked (&br, 1); gst_bit_reader_get_bits_uint8_unchecked (&br, 1);
shorthdr->document_camera_indicator = shorthdr->document_camera_indicator =