From fb0dfadb60cffe811b89e6ad9d2d5b510a47c62b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 24 Nov 2019 22:31:25 +0100 Subject: [PATCH] Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well. --- src/dcp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2