summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-09 22:18:48 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-09 22:18:48 +0000
commit09d7c1aeab76040e1dcbd829fbf734c4f4706180 (patch)
tree5f0e5bcec6ea08bc47fa78ca6fa51519a3ffb1ec /src/lib/video_decoder.cc
parent14405a514581605497d88fb72c2e4fb45b359d4d (diff)
Fix fill_2d not doing what it is specified to do.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc2
1 files changed, 1 insertions, 1 deletions
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++;