diff options
author | Laurent Aimar <fenrir@videolan.org> | 2011-09-25 20:06:19 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-03-18 17:50:30 +0100 |
commit | fce03f878314e2989eb26f4f3330848bfb4e27e6 (patch) | |
tree | 04c064b438856185b596334e09f3d263e57d6107 | |
parent | 22949c42edf5352c5fa8c43870efe20698432b35 (diff) | |
download | ffmpeg-fce03f878314e2989eb26f4f3330848bfb4e27e6.tar.gz |
mpc8: Fix return value on EOF
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
(cherry picked from commit 1e3336de69d1c4c28a5e306fab20555f4078f2d7)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavformat/mpc8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index c4810f6eaf..f36d45283c 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt) return AVERROR(EIO); 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) |