changeset 883:778e090e879d libavformat

total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com)
author michael
date Sat, 17 Dec 2005 11:27:37 +0000
parents 7a7a6eda769d
children 2ece9c9dd94c
files matroska.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/matroska.c	Fri Dec 16 15:51:16 2005 +0000
+++ b/matroska.c	Sat Dec 17 11:27:37 2005 +0000
@@ -796,9 +796,6 @@
         n++;
     }
 
-    if (!total)
-        return AVERROR_INVALIDDATA;
-
     if (read == num_ffs)
         *num = (uint64_t)-1;
     else