[FFmpeg-cvslog] lavf/lxfdec: use FFERROR_REDO instead of AVERROR(EAGAIN).

Nicolas George git at videolan.org
Thu Dec 3 19:22:38 CET 2015


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Fri Nov 27 18:58:25 2015 +0100| [eb2e4fb6745b0c915bd073db8fe4117a11bd9b62] | committer: Nicolas George

lavf/lxfdec: use FFERROR_REDO instead of AVERROR(EAGAIN).

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eb2e4fb6745b0c915bd073db8fe4117a11bd9b62
---

 libavformat/lxfdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c
index 7c3d065..696e112 100644
--- a/libavformat/lxfdec.c
+++ b/libavformat/lxfdec.c
@@ -305,7 +305,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
     if (stream > 1) {
         av_log(s, AV_LOG_WARNING,
                "got packet with illegal stream index %"PRIu32"\n", stream);
-        return AVERROR(EAGAIN);
+        return FFERROR_REDO;
     }
 
     if (stream == 1 && s->nb_streams < 2) {



More information about the ffmpeg-cvslog mailing list