Improve a variable name.
authorCarl Hetherington <cth@carlh.net>
Wed, 6 Jul 2022 08:51:04 +0000 (10:51 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 20 Jul 2022 08:22:55 +0000 (10:22 +0200)
src/lib/dcp_subtitle_decoder.cc

index 4743ecf42c228fb1dcb2b65ee021ecb7289ce96f..08c2bf7ec3642a86f687d9d4d24e6f7cbeaa663c 100644 (file)
@@ -41,9 +41,9 @@ DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const Film> film, shared_ptr<
        : Decoder (film)
 {
        /* Load the XML or MXF file */
-       auto const c = load (content->path(0));
-       c->fix_empty_font_ids ();
-       _subtitles = c->subtitles ();
+       auto const asset = load (content->path(0));
+       asset->fix_empty_font_ids ();
+       _subtitles = asset->subtitles ();
        _next = _subtitles.begin ();
 
        text.push_back (make_shared<TextDecoder>(this, content->only_text()));