projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ac4cb1
)
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.
author
Carl Hetherington
<cth@carlh.net>
Sun, 24 Nov 2019 21:31:25 +0000
(22:31 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 24 Nov 2019 21:31:25 +0000
(22:31 +0100)
src/dcp.cc
patch
|
blob
|
history
diff --git
a/src/dcp.cc
b/src/dcp.cc
index a91aa6719399f1b42c7ff38fabec26ef573048fb..c5ad21c4b096e26cf891832436a7d4ab21465605 100644
(file)
--- 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;
}