Commit 9ebeea82 authored by Aurelien Jacobs's avatar Aurelien Jacobs

matroskadec: return AVERROR_EOF upon detection of end of file

Originally committed as revision 17460 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent dc405cc1
......@@ -1761,7 +1761,7 @@ static int matroska_read_packet(AVFormatContext *s, AVPacket *pkt)
while (matroska_deliver_packet(matroska, pkt)) {
if (matroska->done)
return AVERROR(EIO);
return AVERROR_EOF;
matroska_parse_cluster(matroska);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment