[Ffmpeg-cvslog] CVS: ffmpeg/libavformat matroska.c,1.16,1.17

Michael Niedermayer CVS michael
Sat Dec 17 12:27:40 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv22775/libavformat

Modified Files:
	matroska.c 
Log Message:
total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com)


Index: matroska.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/matroska.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- matroska.c	12 Dec 2005 01:56:46 -0000	1.16
+++ matroska.c	17 Dec 2005 11:27:37 -0000	1.17
@@ -796,9 +796,6 @@
         n++;
     }
 
-    if (!total)
-        return AVERROR_INVALIDDATA;
-
     if (read == num_ffs)
         *num = (uint64_t)-1;
     else





More information about the ffmpeg-cvslog mailing list