mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
codecparsers: fix an issue in check resync marker
This commit is contained in:
parent
befc724e5a
commit
3aa9081ef5
1 changed files with 1 additions and 1 deletions
|
@ -1616,7 +1616,7 @@ gst_mpeg4_parse_video_packet_header (GstMpeg4VideoPacketHdr * videopackethdr,
|
|||
|
||||
CHECK_REMAINING (&br, markersize);
|
||||
|
||||
if (gst_bit_reader_get_bits_uint32_unchecked (&br, markersize) != 0x01)
|
||||
if (gst_bit_reader_get_bits_uint32_unchecked (&br, markersize + 1) != 0x01)
|
||||
goto failed;
|
||||
|
||||
if (vol->shape != GST_MPEG4_RECTANGULAR) {
|
||||
|
|
Loading…
Reference in a new issue