[FFmpeg-cvslog] gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet function

Matthieu Bouron git at videolan.org
Mon Mar 19 13:36:57 CET 2012


ffmpeg | branch: master | Matthieu Bouron <matthieu.bouron at gmail.com> | Sat Mar 17 10:59:11 2012 +0100| [f645132061141e1ab8e243eea00d3eac17f43b0f] | committer: Michael Niedermayer

gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet function

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f645132061141e1ab8e243eea00d3eac17f43b0f
---

 libavformat/gxf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index e557370..5d42ff6 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -527,7 +527,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) {
 
         return ret;
     }
-    return AVERROR(EIO);
+    return AVERROR_EOF;
 }
 
 static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) {



More information about the ffmpeg-cvslog mailing list