[FFmpeg-devel] [PATCH] lavc/vvc: Invalidate PPSs which refer to a changed SPS

Christophe Gisquet christophe.gisquet at gmail.com
Sat Jun 15 09:34:54 EEST 2024


Le ven. 14 juin 2024, 11:39, Frank Plowman <post at frankplowman.com> a écrit :

> When the SPS associated with a particular SPS ID changes, invalidate all
> the PPSs which use that SPS ID.  Fixes crashes with illegal bitstreams.
> This is done in the CBS, rather than in libavcodec/vvc/ps.c like the SPS
> ID reuse validation, as parts of the CBS parsing process for PPSs
> depend on the SPS being referred to.
>

I am uncertain about this. I have no definite knowledge nor proof, but I
would have thought these are persistent, IE it's legal to update some of
them, their validity depending on something else.

Wondering if the tested streams are thus conformant.

But I don't know the actual rule. Maybe finding an EOB/EOS NUT? Related to
some particular shape of a clean random access point, that would require
retransmitting VPS/SPS/PPS/APS/... ?

Asking Benjamin Bross might be a better option here.

>


More information about the ffmpeg-devel mailing list