diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-12 09:40:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-12 09:40:25 +0100 |
| commit | 7319d827885d9169afc1e9169501ce657065c437 (patch) | |
| tree | 5cae74aa09df000ae4dd7f30c5c77e9975c19955 /src/lib/video_decoder.cc | |
| parent | faaba9662d202d6d4a9d2024699f27ac00e67dc2 (diff) | |
Small tidy-up.
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc index 078e78c6f..6393fcbb2 100644 --- 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; } } |
