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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Matthieu Bouron 2012-03-17 10:59:11 +01:00 committed by Michael Niedermayer
parent 78f2833f78
commit f645132061

View File

@ -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) {