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:31:25 +0100 |
| commit | 75a4d1603551f5405b89f199e7f02b82b2554746 (patch) | |
| tree | 30f2a75241f01a31eb896449a8fb45e40314cbae /src | |
| parent | 1ac4cb1a8fe20a0b60408006a7a9f92714f140ca (diff) | |
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.
Diffstat (limited to 'src')
| -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; } |
