gsth264parser: reject memory management control op greater than 6
authorAaron Boxer <aaron.boxer@collabora.com>
Fri, 3 Sep 2021 18:57:09 +0000 (14:57 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 9 Sep 2021 15:32:14 +0000 (15:32 +0000)
commit15d724e671bb6fb4018059a9ae7948d74fc78cb5
tree66dc682840185a6834faf83e2db05b851968f3c7
parent580ac55194bea03a82625e76a1b5589aecb8f37a
gsth264parser: reject memory management control op greater than 6

This prevents assertion from being thrown in
gst_h264_dpb_perform_memory_management_control_operation
if corrupt NAL has a control op greater than 6

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2508>
gst-libs/gst/codecparsers/gsth264parser.c