projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small tidy-up.
[dcpomatic.git]
/
src
/
lib
/
video_decoder.cc
diff --git
a/src/lib/video_decoder.cc
b/src/lib/video_decoder.cc
index 078e78c6f2c44d321cce2b67e56ff876ca9aec16..6393fcbb26348c8f69d95c0a4b57969e273b25f5 100644
(file)
--- a/
src/lib/video_decoder.cc
+++ b/
src/lib/video_decoder.cc
@@
-147,18
+147,13
@@
VideoDecoder::fill_2d (Frame from, Frame to)
filler_part = _decoded_video.back().part;
}
filler_part = _decoded_video.back().part;
}
- Frame filler_frame = from;
-
- while (filler_frame < to) {
-
+ for (Frame i = from; i < to; ++i) {
#ifdef DCPOMATIC_DEBUG
test_gaps++;
#endif
_decoded_video.push_back (
#ifdef DCPOMATIC_DEBUG
test_gaps++;
#endif
_decoded_video.push_back (
- ContentVideo (filler_image, EYES_BOTH, filler_part,
filler_frame
)
+ ContentVideo (filler_image, EYES_BOTH, filler_part,
i
)
);
);
-
- ++filler_frame;
}
}
}
}