[FFmpeg-devel] [PATCH] avformat/rtpdec_av1: Fix fragment continuation check when OBU_HAS_SIZE_FIELD is set

Chris Hodges Chris.Hodges at axis.com
Mon Apr 14 10:13:21 EEST 2025


Hi there,

On 4/13/25 17:56, Parallelc wrote:

> When OBU_HAS_SIZE_FIELD is set in the OBU header, frag_obu_size remains 0.
> The code used !frag_obu_size to check for unexpected fragment continuation,
> which resulted in incorrect drops. Introduce expect_frag_cont to explicitly
> track continuation expectation.

Good find! I didn't have sources that kept the OBU size field (just curious,
what did you use to generate these RTP streams?), and your fix looks good
to me (although I didn't verify it).

-- 
Best regards,
Chris



More information about the ffmpeg-devel mailing list