[FFmpeg-devel] [PATCH 2/5] lavf/demux: treat EAGAIN as REDO unless AVFMT_FLAG_NONBLOCK is set

Anton Khirnov anton at khirnov.net
Mon Nov 14 13:12:11 EET 2022


Quoting Nicolas George (2022-11-14 12:05:10)
> Anton Khirnov (12022-11-14):
> > I do not see any objections from you to this patch.
> 
> My explanations for the other patch apply to this one, obviously: if you
> treat EAGAIN as REDO, you introduce a busy wait.

In what specific case would this supposed busy wait happen and why is it
wrong?

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list