diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-11 01:01:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-11 01:03:42 +0200 |
| commit | 62757708dd14df8806eb6482e83afb06a6160f0a (patch) | |
| tree | 0be25526d4c735f22bd2b60b4d9f21b1751903cd /src | |
| parent | 1639534db734d3165726282d7530b13d6a763ebb (diff) | |
Fix crash with one verification error and no notes list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dcp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -234,7 +234,7 @@ DCP::read (list<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_mxf } _cpls.push_back (cpl); } else if (root == "DCSubtitle") { - if (_standard && _standard.get() == SMPTE) { + if (_standard && _standard.get() == SMPTE && notes) { notes->push_back (VerificationNote(VerificationNote::VERIFY_ERROR, VerificationNote::MISMATCHED_STANDARD)); } other_assets.push_back (shared_ptr<InteropSubtitleAsset> (new InteropSubtitleAsset (path))); |
