diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-17 00:25:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-17 00:25:11 +0000 |
| commit | 2a434c744338ff23ca99e21a130afaf042300ada (patch) | |
| tree | fff806d2d26a1db724422756be3038ddbde2c8ba /src/lib | |
| parent | 996efed5e50a17bd1ac570dd3d11d153286ccac7 (diff) | |
Fix crash on importing an encrypted DCP.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_examiner.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 996924530..80887a609 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -200,6 +200,8 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content) } } catch (dcp::DCPReadError& e) { _kdm_valid = false; + } catch (dcp::MiscError& e) { + _kdm_valid = false; } DCPOMATIC_ASSERT (cpl->standard ()); |
