From 53a18f3564b6dcd431e44b01ab2a505be135d2b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Jul 2014 09:40:56 +0100 Subject: Basics of direct write of J2K data without encode/decode. --- src/lib/dcp_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/dcp_decoder.cc') 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; } } -- cgit v1.2.3