Cleanup variable name: k -> reel
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Nov 2021 14:07:53 +0000 (15:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 4 Nov 2021 10:45:35 +0000 (11:45 +0100)
src/lib/player.cc

index 5404dfac4bd3fb9d51b721e83669c5ff0cbc8e1a..2669b350fb694e7085bd468eb5904f21fb047bb8 100644 (file)
@@ -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()) {