On Thu, Feb 15, 2024 at 7:54 PM <[email protected]> wrote:

> From: Frank Plowman <[email protected]>
>
> 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 <[email protected]>
>
> 👍, Thank you, Frank.
applied
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to