diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-03-29 20:46:36 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-03-29 20:46:36 +0200 |
commit | a8a751ce9aaad4f466ccd9b0852709e063c2ba74 (patch) | |
tree | 688e51c32ab1cb5fc7a84583e76719df78577ce8 | |
parent | 759381d96b221abb663627dc25135b76d8c2106a (diff) | |
download | ffmpeg-a8a751ce9aaad4f466ccd9b0852709e063c2ba74.tar.gz |
avformat/mpc8: do not return error on stream end
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-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 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; |