# HG changeset patch # User michael # Date 1134818857 0 # Node ID 778e090e879da63b16edab5e6b63e988ef790833 # Parent 7a7a6eda769de55c79087eeecc9d95225699aba4 total == 0 seems like it should be valid (based upon patch by Steve Lhomme | slhomme divxcorp com) diff -r 7a7a6eda769d -r 778e090e879d matroska.c --- 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