From a8a751ce9aaad4f466ccd9b0852709e063c2ba74 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 29 Mar 2018 20:46:36 +0200 Subject: [PATCH] avformat/mpc8: do not return error on stream end Signed-off-by: Paul B Mahol --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index f280faa5cc..79e5f6a9ab 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -297,7 +297,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt) return 0; } if(tag == TAG_STREAMEND) - return AVERROR(EIO); + return AVERROR_EOF; mpc8_handle_chunk(s, tag, pos, size); } return AVERROR_EOF;