[FFmpeg-cvslog] r17460 - trunk/libavformat/matroskadec.c

aurel subversion
Thu Feb 19 22:01:46 CET 2009


Author: aurel
Date: Thu Feb 19 22:01:45 2009
New Revision: 17460

Log:
matroskadec: return AVERROR_EOF upon detection of end of file

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	Thu Feb 19 18:54:23 2009	(r17459)
+++ trunk/libavformat/matroskadec.c	Thu Feb 19 22:01:45 2009	(r17460)
@@ -1761,7 +1761,7 @@ static int matroska_read_packet(AVFormat
 
     while (matroska_deliver_packet(matroska, pkt)) {
         if (matroska->done)
-            return AVERROR(EIO);
+            return AVERROR_EOF;
         matroska_parse_cluster(matroska);
     }
 




More information about the ffmpeg-cvslog mailing list