From 09d7c1aeab76040e1dcbd829fbf734c4f4706180 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 Dec 2014 22:18:48 +0000 Subject: Fix fill_2d not doing what it is specified to do. --- src/lib/video_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/video_decoder.cc') diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index 711f047d1..cab1a979f 100644 --- a/src/lib/video_decoder.cc +++ b/src/lib/video_decoder.cc @@ -147,7 +147,7 @@ VideoDecoder::fill_2d (VideoFrame from, VideoFrame to) VideoFrame filler_frame = from; - while (filler_frame < (to - 1)) { + while (filler_frame < to) { #ifdef DCPOMATIC_DEBUG test_gaps++; -- cgit v1.2.3