projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash on comparing reels with and without markers.
[libdcp.git]
/
src
/
reel.cc
diff --git
a/src/reel.cc
b/src/reel.cc
index d3e2a8503b47f0a9926d79f0ea42a9be98d82baf..29ce9038755c26ccce0bd8196ea4c9456a4ec231 100644
(file)
--- a/
src/reel.cc
+++ b/
src/reel.cc
@@
-185,7
+185,7
@@
Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, NoteHand
return false;
}
- if (_main_markers &&
!_main_markers->equals (other->_main_markers, opt, note
)) {
+ if (_main_markers &&
(!other->_main_markers || !_main_markers->equals (other->_main_markers, opt, note)
)) {
return false;
}