[FFmpeg-devel] [PATCH] mpegts: Return AVERROR(EAGAIN) instead of -1 if there isn't enough data

Luca Barbato lu_zero
Fri Oct 15 23:18:22 CEST 2010


On 10/15/2010 05:38 PM, Ronald S. Bultje wrote:
> It's probably OK. Is there a particular reason that returning anything
> else than EAGAIN only caused issues for mpegts, as opposed to, say,
> RTP/ASF?

The idea is to have a quick path for the reordering buffer depending on 
the return value from the parse function.

Patch ok IMHO.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list