[FFmpeg-cvslog] lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).
Nicolas George
git at videolan.org
Thu Dec 3 19:22:38 CET 2015
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Fri Nov 27 18:58:38 2015 +0100| [cb14d30240b083939639c4be27f15877bf2876c8] | committer: Nicolas George
lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb14d30240b083939639c4be27f15877bf2876c8
---
libavformat/mpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index fb77d89..69685cf 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)
More information about the ffmpeg-cvslog
mailing list