aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2024-02-15 11:54:24 +0000
committerNuo Mi <nuomi2021@gmail.com>2024-02-16 12:05:03 +0800
commitacacf8a313f74d0cc83ae790d39341f471ef47b8 (patch)
tree14d891ddc0a266466e9296d91ca9eac9a4cf93d2 /libavcodec/x86
parent86367be5ef313887a0d93390e668fe13dc675394 (diff)
downloadffmpeg-acacf8a313f74d0cc83ae790d39341f471ef47b8.tar.gz
lavc/vvc: Use pps->{width, height} over sps->{width, height}
The PPS should be used instead of the SPS to get the current picture's dimensions. Using the SPS can cause issues if the resolution changes mid-sequence. In particular, it was leading to invalid memory accesses if the resolution decreased. Patch replaces sps->{width,height} with pps->{width,height}. It also removes sps->{width,height}, as these are no longer used anywhere. Fixes crash when decoding DVB V&V test sequence VVC_HDR_UHDTV1_ClosedGOP_Max3840x2160_50fps_HLG10_res_change_without_RPR Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'libavcodec/x86')
0 files changed, 0 insertions, 0 deletions