[FFmpeg-devel] [PATCH] lavc/vvc: Use pps->{width, height} over sps->{width, height}

Nuo Mi nuomi2021 at gmail.com
Fri Feb 16 06:31:39 EET 2024


On Thu, Feb 15, 2024 at 7:54 PM <post at frankplowman.com> wrote:

> From: Frank Plowman <post at frankplowman.com>
>
> 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 at frankplowman.com>
>
> 👍, Thank you, Frank.
applied


More information about the ffmpeg-devel mailing list