Fix crash on importing an encrypted DCP.
[dcpomatic.git] / src / lib / dcp_examiner.cc
index 9969245305211b901a4ec66db317af6d53143c51..80887a609eb01f9c593e5e1bfb4f4c7841a3cfe6 100644 (file)
@@ -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 ());