aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h2645data.c
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2024-06-25 18:02:02 +0100
committerNuo Mi <nuomi2021@gmail.com>2024-06-27 20:38:34 +0800
commitd79c926ab6282f225de8d1a39a5234ebc4d38451 (patch)
tree11c8f6c1c358fd3644abf0342b0d0ee85b44569e /libavcodec/h2645data.c
parentc917c423e07075862311f930786c924290f84430 (diff)
downloadffmpeg-d79c926ab6282f225de8d1a39a5234ebc4d38451.tar.gz
lavc/vvc: Validate IBC block vector
From H.266 (V3) (09/2023) p. 321: It is a requirement of bitstream conformance that the luma block vector bvL shall obey the following constraints: - CtbSizeY is greater than or equal to ((yCb + (bvL[ 1 ] >> 4)) & (CtbSizeY − 1)) + cbHeight This patch checks this is true, which fixes crashes on fuzzed bitstreams. Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'libavcodec/h2645data.c')
0 files changed, 0 insertions, 0 deletions