projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1639534
)
Fix crash with one verification error and no notes list.
author
Carl Hetherington
<cth@carlh.net>
Thu, 10 Sep 2020 23:01:07 +0000
(
01:01
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 10 Sep 2020 23:03:42 +0000
(
01:03
+0200)
src/dcp.cc
patch
|
blob
|
history
diff --git
a/src/dcp.cc
b/src/dcp.cc
index 426bd81548370b87cb706f11d6d394e4fa2081dc..08785e5561e1de9ff395b1c4d6f839c4b2ebe80a 100644
(file)
--- a/
src/dcp.cc
+++ b/
src/dcp.cc
@@
-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)));