Commit b8476bf4 authored by aurel's avatar aurel

matroskadec: return AVERROR_EOF upon detection of end of file

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f98f4ce6
......@@ -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