X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_decoder.cc;h=08c2bf7ec3642a86f687d9d4d24e6f7cbeaa663c;hp=4743ecf42c228fb1dcb2b65ee021ecb7289ce96f;hb=e7efb7d651d4555ed8dd2b3c4980b5222d1e0521;hpb=58c63c02bc26209f42f42bccbe4a587f9df6f05f 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 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(this, content->only_text()));