projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaba96
)
Small tidy-up.
author
Carl Hetherington
<cth@carlh.net>
Fri, 12 Jun 2015 08:40:25 +0000
(09:40 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 12 Jun 2015 08:40:25 +0000
(09:40 +0100)
src/lib/video_decoder.cc
patch
|
blob
|
history
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;
}
- 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 (
- ContentVideo (filler_image, EYES_BOTH, filler_part,
filler_frame
)
+ ContentVideo (filler_image, EYES_BOTH, filler_part,
i
)
);
-
- ++filler_frame;
}
}