ffmpeg/libavcodec/vvc
Frank Plowman acacf8a313 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>
2024-02-16 12:05:03 +08:00
..
Makefile
vvc_cabac.c
vvc_cabac.h
vvc_ctu.c lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_ctu.h lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_data.c
vvc_data.h
vvc_filter_template.c
vvc_filter.c lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_filter.h
vvc_inter_template.c
vvc_inter.c
vvc_inter.h
vvc_intra_template.c
vvc_intra.c
vvc_intra.h
vvc_itx_1d.c
vvc_itx_1d.h
vvc_mvs.c lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_mvs.h
vvc_ps.c lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_ps.h lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_refs.c lavc/vvc: Use pps->{width, height} over sps->{width, height} 2024-02-16 12:05:03 +08:00
vvc_refs.h
vvc_thread.c
vvc_thread.h
vvcdec.c
vvcdec.h
vvcdsp_template.c
vvcdsp.c
vvcdsp.h