Commit 7ec5ea43 authored by Laurent Aimar's avatar Laurent Aimar Committed by Michael Niedermayer

Fix return value on EOF in mpc v8 demuxer.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a1526cd7
...@@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EIO); return AVERROR(EIO);
mpc8_handle_chunk(s, tag, pos, size); mpc8_handle_chunk(s, tag, pos, size);
} }
return 0; return AVERROR_EOF;
} }
static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) static int mpc8_read_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