Re: [FFmpeg-devel] [PATCH] lavc/vvc: Validate temporal MVP references

2024-05-27 Thread Nuo Mi
On Sun, May 26, 2024 at 5:16 PM Frank Plowman wrote: > Per VVCv3 p. 157, the collocated reference picture used in temporal > motion vector prediction must have RprConstraintsActiveFlag equal to > zero and the same CTU size as the current picture. Add these checks, > fixing crashes decoding some

[FFmpeg-devel] [PATCH] lavc/vvc: Validate temporal MVP references

2024-05-26 Thread Frank Plowman
Per VVCv3 p. 157, the collocated reference picture used in temporal motion vector prediction must have RprConstraintsActiveFlag equal to zero and the same CTU size as the current picture. Add these checks, fixing crashes decoding some fuzzed bitstreams. Additionally, only set up the collocated re