aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2012-03-17 10:59:11 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-19 13:33:24 +0100
commitf645132061141e1ab8e243eea00d3eac17f43b0f (patch)
tree28e8f7dd75a6d74232c66e7d3c83f32a56c36b77 /libavformat
parent78f2833f7808373e4d973ac77c16538b74cf71c1 (diff)
downloadffmpeg-f645132061141e1ab8e243eea00d3eac17f43b0f.tar.gz
gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/gxf.c2
1 files changed, 1 insertions, 1 deletions
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) {