summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Aimar <[email protected]>2011-09-25 13:43:37 +0200
committerMichael Niedermayer <[email protected]>2011-10-01 20:30:35 +0200
commit521dbccc1137fdf3c7ebdd75afe64a4d2567ba22 (patch)
tree9c88ffa933b665f9ab411bce548250b92e6ad250
parent7aa24b157dedf39dadade9b0d59071574f6580da (diff)
Fix return value on EOF in mpc v8 demuxer.
Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 7ec5ea437fc88ca58d7ac3cd12dfa2f0fbd4011f)
-rw-r--r--libavformat/mpc8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c
index b18726c6db..db23781613 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)