diff options
author | Nicolas George <george@nsup.org> | 2015-11-27 18:58:38 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-12-03 19:16:12 +0100 |
commit | cb14d30240b083939639c4be27f15877bf2876c8 (patch) | |
tree | 5a251da8f5708ce004b1079f7dfd8c52eb2bcc02 | |
parent | 0bac7a436be649b87922d785a840d93f9a8b4b68 (diff) | |
download | ffmpeg-cb14d30240b083939639c4be27f15877bf2876c8.tar.gz |
lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).
-rw-r--r-- | libavformat/mpeg.c | 2 |
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) |