mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
matroskadec: return AVERROR_EOF upon detection of end of file
Originally committed as revision 17460 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
dc405cc1c0
commit
9ebeea82f0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user