Fix fill_2d not doing what it is specified to do.
authorCarl Hetherington <cth@carlh.net>
Tue, 9 Dec 2014 22:18:48 +0000 (22:18 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 9 Dec 2014 22:18:48 +0000 (22:18 +0000)
src/lib/video_decoder.cc

index 711f047d14ca8c33a711f83ec682418f5d963841..cab1a979fc2dc48502015e7b73940f7889f3ea16 100644 (file)
@@ -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++;