mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
codecparsers: add missing zero_bits in h263 parsing
This commit is contained in:
parent
1138aab1db
commit
bb52df5e24
1 changed files with 4 additions and 0 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue