Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well. v1.6.13
authorCarl Hetherington <cth@carlh.net>
Sun, 24 Nov 2019 21:31:25 +0000 (22:31 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 24 Nov 2019 21:54:52 +0000 (22:54 +0100)
src/dcp.cc

index 69875235271717f6853f910d8acad755e314ddb9..3400041207d6fb5e077290eb1dd9f4a596782758 100644 (file)
@@ -194,9 +194,10 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx
                           claims to come from ClipsterDCI 5.10.0.5.
                        */
                        survivable_error (keep_going, errors, EmptyAssetPathError(i->first));
+                       continue;
                }
 
-               if (i->second.empty() || !boost::filesystem::exists(path)) {
+               if (!boost::filesystem::exists(path)) {
                        survivable_error (keep_going, errors, MissingAssetError (path));
                        continue;
                }