From cb14d30240b083939639c4be27f15877bf2876c8 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 27 Nov 2015 18:58:38 +0100 Subject: lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN). --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') 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) -- cgit v1.2.3