aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2015-11-27 18:58:25 +0100
committerNicolas George <george@nsup.org>2015-12-03 19:16:12 +0100
commiteb2e4fb6745b0c915bd073db8fe4117a11bd9b62 (patch)
treea3a7f4d0650550127db56e7f0cd8e6ace6f45f7a
parentcb14d30240b083939639c4be27f15877bf2876c8 (diff)
downloadffmpeg-eb2e4fb6745b0c915bd073db8fe4117a11bd9b62.tar.gz
lavf/lxfdec: use FFERROR_REDO instead of AVERROR(EAGAIN).
-rw-r--r--libavformat/lxfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c
index 7c3d065bce..696e112c2d 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) {