summaryrefslogtreecommitdiff
path: root/src
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:31:25 +0100
commit75a4d1603551f5405b89f199e7f02b82b2554746 (patch)
tree30f2a75241f01a31eb896449a8fb45e40314cbae /src
parent1ac4cb1a8fe20a0b60408006a7a9f92714f140ca (diff)
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index a91aa671..c5ad21c4 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;
}