From 43e49dcba1025c2eb3bd5b9e7905ed881c908312 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Thu, 28 Nov 2013 14:05:45 +0100 Subject: [PATCH] Fix for the isFixed function --- lib/dtscmeta.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dtscmeta.cpp b/lib/dtscmeta.cpp index 18ea01ef..addbe4d6 100644 --- a/lib/dtscmeta.cpp +++ b/lib/dtscmeta.cpp @@ -819,7 +819,7 @@ namespace DTSC { bool Meta::isFixed(){ for (std::map::iterator it = tracks.begin(); it != tracks.end(); it++){ - if (!it->second.keys.size() || !(it->second.keys.rbegin()->getBpos())){ + if (it->second.keys.size() && !(it->second.keys.rbegin()->getBpos())){ return false; } }