From f645132061141e1ab8e243eea00d3eac17f43b0f Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Sat, 17 Mar 2012 10:59:11 +0100 Subject: [PATCH] gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet function Signed-off-by: Michael Niedermayer --- libavformat/gxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/gxf.c b/libavformat/gxf.c index e557370f87..5d42ff6837 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) {