Commit f6451320 authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 78f2833f
...@@ -527,7 +527,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment