git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc405cc
)
matroskadec: return AVERROR_EOF upon detection of end of file
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 19 Feb 2009 21:01:45 +0000
(21:01 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 19 Feb 2009 21:01:45 +0000
(21:01 +0000)
Originally committed as revision 17460 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
4ba3514
..
2f2d444
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-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);
}