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

> From: Frank Plowman <p...@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 <p...@frankplowman.com>
>
> 👍, Thank you, Frank.
applied
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to