diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-24 22:31:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-11-24 22:54:52 +0100 |
| commit | fb0dfadb60cffe811b89e6ad9d2d5b510a47c62b (patch) | |
| tree | d8ade676583539d48a246a5e746fba995d5688bc | |
| parent | 5aedc93438176732501d75b9e46a07deae57ee26 (diff) | |
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.v1.6.13
| -rw-r--r-- | src/dcp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |
