summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 6e59f6cde..e9c110108 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -85,7 +85,7 @@ DCPDecoder::pass ()
_next += ContentTime::from_frames (1, vfr);
if ((*_reel)->main_picture ()) {
- if ((*_reel)->main_picture()->duration() >= _next.frames (vfr)) {
+ if (_next.frames (vfr) >= (*_reel)->main_picture()->duration()) {
++_reel;
}
}