summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2011-09-25 20:06:19 +0000
committerJanne Grunau <janne-libav@jannau.net>2011-10-07 16:25:30 +0200
commit1e3336de69d1c4c28a5e306fab20555f4078f2d7 (patch)
treebcbdbb435344c54e0dba53e1ef0bf0d142f660a7 /libavformat
parent95010d18b2d808db9a49377e41bc2f7cf4dfa03e (diff)
downloadffmpeg-1e3336de69d1c4c28a5e306fab20555f4078f2d7.tar.gz
mpc8: Fix return value on EOF
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpc8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index d7a7d6a825..2634ee33b9 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)