mpc8: Fix return value on EOF

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
Laurent Aimar
2011-09-25 20:06:19 +00:00
committed by Janne Grunau
parent 95010d18b2
commit 1e3336de69

View File

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