Re: [FFmpeg-devel] [PATCH] libavformat/vvc: Make probe more conservative

2023-12-03 Thread Nuo Mi
> > return 0; > > -if ((nal2 & 0x7) == 0) // nuh_temporal_id_plus1 > +if (nuh_temporal_id_plus1 == 0) // nuh_temporal_id_plus1 > +return 0; > +if (nuh_temporal_id_plus1 != 1 && (type >= VVC_IDR_W_RADL && > type <= VVC_RSV_IRAP_11

[FFmpeg-devel] [PATCH] libavformat/vvc: Make probe more conservative

2023-12-03 Thread post
From: Frank Plowman Reduce false positives for VVC files by adding additional checks in `vvc_probe`. Specifically, `nuh_temporal_id_plus1` is tested for valid values in extra cases depending on the NAL unit type, as per ITU-T H.266 section 7.4.2.2. Resolves tracĀ #10703. Signed-off-by: Frank