aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index fb77d892d5..69685cf890 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -256,7 +256,7 @@ redo:
if (avio_feof(s->pb))
return AVERROR_EOF;
// FIXME we should remember header_state
- return AVERROR(EAGAIN);
+ return FFERROR_REDO;
}
if (startcode == PACK_START_CODE)