From: Carl Hetherington Date: Tue, 2 Nov 2021 14:07:53 +0000 (+0100) Subject: Cleanup variable name: k -> reel X-Git-Tag: v2.15.172~8 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=6bf04a56980eca8688fc8b691ed4fc5bca4ae8d3 Cleanup variable name: k -> reel --- diff --git a/src/lib/player.cc b/src/lib/player.cc index 5404dfac4..2669b350f 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -582,9 +582,9 @@ Player::get_reel_assets () int64_t offset_from_start = 0; /* position i the asset from the end */ int64_t offset_from_end = 0; - for (auto k: decoder->reels()) { + for (auto reel: decoder->reels()) { /* Assume that main picture duration is the length of the reel */ - offset_from_end += k->main_picture()->actual_duration(); + offset_from_end += reel->main_picture()->actual_duration(); } for (auto reel: decoder->reels()) {