aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac_data.h
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2024-05-26 10:16:18 +0100
committerNuo Mi <nuomi2021@gmail.com>2024-05-27 20:24:21 +0800
commit49c3918c1ac64b4ae3ab61b9862ec75c96b2b6c2 (patch)
treee94d2b53f0d9ae4fdb08c5cd3f4a251e75ba0776 /libavcodec/alac_data.h
parent2b11a8b95b4ff27624330bd417da63b5c7c9367e (diff)
downloadffmpeg-49c3918c1ac64b4ae3ab61b9862ec75c96b2b6c2.tar.gz
lavc/vvc: Validate temporal MVP references
Per VVCv3 p. 157, the collocated reference picture used in temporal motion vector prediction must have RprConstraintsActiveFlag equal to zero and the same CTU size as the current picture. Add these checks, fixing crashes decoding some fuzzed bitstreams. Additionally, only set up the collocated reference picture if it is actually going to be used (i.e. if ph_temporal_mvp_enabled_flag is 1), else legal RPR bitstreams will fail the new checks. Co-authored-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'libavcodec/alac_data.h')
0 files changed, 0 insertions, 0 deletions