mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
codecparser: Fix picture packet extension size check
It is at least 34 bit big (5 bytes with byte padding)
This commit is contained in:
parent
5e70c76b33
commit
3bb62cbf1d
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ gst_mpeg_video_parse_picture_extension (GstMpegVideoPictureExt * ext,
|
||||||
|
|
||||||
if (gst_bit_reader_get_bits_uint8_unchecked (&br, 4) !=
|
if (gst_bit_reader_get_bits_uint8_unchecked (&br, 4) !=
|
||||||
GST_MPEG_VIDEO_PACKET_EXT_PICTURE) {
|
GST_MPEG_VIDEO_PACKET_EXT_PICTURE) {
|
||||||
GST_DEBUG ("Not parsing a picture extension");
|
GST_DEBUG ("Extension is not a picture extension");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue