summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-24 22:31:25 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-24 22:54:52 +0100
commitfb0dfadb60cffe811b89e6ad9d2d5b510a47c62b (patch)
treed8ade676583539d48a246a5e746fba995d5688bc
parent5aedc93438176732501d75b9e46a07deae57ee26 (diff)
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.v1.6.13
-rw-r--r--src/dcp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 69875235..34000412 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -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;
}