projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aedc93
)
Just emit EmptyAssetPathError from DCP::read, not a MissingAssetError as well.
v1.6.13
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:54:52 +0000
(22:54 +0100)
src/dcp.cc
patch
|
blob
|
history
diff --git
a/src/dcp.cc
b/src/dcp.cc
index 69875235271717f6853f910d8acad755e314ddb9..3400041207d6fb5e077290eb1dd9f4a596782758 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;
}