[FFmpeg-cvslog] avformat/mpc8: do not return error on stream end
Paul B Mahol
git at videolan.org
Thu Mar 29 21:49:54 EEST 2018
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Mar 29 20:46:36 2018 +0200| [a8a751ce9aaad4f466ccd9b0852709e063c2ba74] | committer: Paul B Mahol
avformat/mpc8: do not return error on stream end
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a8a751ce9aaad4f466ccd9b0852709e063c2ba74
---
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;
More information about the ffmpeg-cvslog
mailing list