aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George2015-11-27 18:58:38 +0100
committerNicolas George2015-12-03 19:16:12 +0100
commitcb14d30240b083939639c4be27f15877bf2876c8 (patch)
tree5a251da8f5708ce004b1079f7dfd8c52eb2bcc02
parent0bac7a436be649b87922d785a840d93f9a8b4b68 (diff)
lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).
-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)