[FFmpeg-devel] [PATCH 4/5] lavf/lxfdec: use FFERROR_REDO instead of AVERROR(EAGAIN).

Nicolas George george at nsup.org
Fri Nov 27 19:16:09 CET 2015


Signed-off-by: Nicolas George <george at nsup.org>
---
 libavformat/lxfdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Untested.


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) {
-- 
2.6.2



More information about the ffmpeg-devel mailing list