summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.cc')
-rw-r--r--src/lib/dcp_subtitle_decoder.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dcp_subtitle_decoder.cc b/src/lib/dcp_subtitle_decoder.cc
index 4743ecf42..08c2bf7ec 100644
--- a/src/lib/dcp_subtitle_decoder.cc
+++ b/src/lib/dcp_subtitle_decoder.cc
@@ -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()));