Signed-off-by: Nicolas George <geo...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to