mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-12 10:30:26 +00:00
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>
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vvc_cabac.c | ||
| vvc_cabac.h | ||
| vvc_ctu.c | ||
| vvc_ctu.h | ||
| vvc_data.c | ||
| vvc_data.h | ||
| vvc_filter.c | ||
| vvc_filter.h | ||
| vvc_filter_template.c | ||
| vvc_inter.c | ||
| vvc_inter.h | ||
| vvc_inter_template.c | ||
| vvc_intra.c | ||
| vvc_intra.h | ||
| vvc_intra_template.c | ||
| vvc_itx_1d.c | ||
| vvc_itx_1d.h | ||
| vvc_mvs.c | ||
| vvc_mvs.h | ||
| vvc_ps.c | ||
| vvc_ps.h | ||
| vvc_refs.c | ||
| vvc_refs.h | ||
| vvc_thread.c | ||
| vvc_thread.h | ||
| vvcdec.c | ||
| vvcdec.h | ||
| vvcdsp.c | ||
| vvcdsp.h | ||
| vvcdsp_template.c | ||