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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/merge
Matthieu Bouron 13 years ago committed by Michael Niedermayer
parent 78f2833f78
commit f645132061
  1. 2
      libavformat/gxf.c

@ -527,7 +527,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) {
return ret; return ret;
} }
return AVERROR(EIO); return AVERROR_EOF;
} }
static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) { static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) {

Loading…
Cancel
Save