[FFmpeg-devel] [PATCH] HLS problem
Reimar Döffinger
Reimar.Doeffinger
Wed Jan 12 19:18:23 CET 2011
On Wed, Jan 12, 2011 at 07:59:59PM +0200, Martin Storsj? wrote:
> There are two functions reading data, get_buffer and fill_buffer.
> get_buffer only returns once the requested amount has been read, and
> re-reads if the read function didn't return enough data. fill_buffer
> will return once at least one byte has been read (while it requests
> the full buffer from the underlying layer), so for networks, it will
> return as soon as one packet is received.
Both will actually assume EOF if nothing is read, and the same is
true for e.g. AVERROR(EAGAIN).
More information about the ffmpeg-devel
mailing list