From d73ef6f9a1d2ba198d9e0aa7a7adbcb49345f297 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Tue, 25 May 2010 14:07:53 +0200 Subject: [PATCH] fix the infinite size detection for a Cluster --- src/info/mkvinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info/mkvinfo.cpp b/src/info/mkvinfo.cpp index 804a221af..aa6b75160 100644 --- a/src/info/mkvinfo.cpp +++ b/src/info/mkvinfo.cpp @@ -1901,7 +1901,7 @@ process_file(const std::string &file_name) { } if (is_id(l0, KaxSegment)) { - if (l0->GetSize() == -1) + if (!l0->IsFiniteSize()) show_element(l0, 0, Y("Segment, size unknown")); else show_element(l0, 0, boost::format(Y("Segment, size %1%")) % l0->GetSize());