summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-02 15:07:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-03 11:29:03 +0100
commit57b35041cc4a80e353f03237065eb2d8966cbd63 (patch)
tree45c68da809961984b4da5a7f00edfbdeeeba9d90
parent244ddf0fc0b6466618408fec7b926f517be067c1 (diff)
Cleanup variable name: k -> reel
-rw-r--r--src/lib/player.cc4
1 files changed, 2 insertions, 2 deletions
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()) {