summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index 3f0ac8a7d..c591ba30c 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -103,7 +103,7 @@ FFmpegDecoder::FFmpegDecoder (shared_ptr<const Film> film, shared_ptr<const FFmp
}
for (auto i: c->ffmpeg_audio_streams()) {
- _next_time[i] = {};
+ _next_time[i] = boost::optional<dcpomatic::ContentTime>();
}
}
@@ -444,7 +444,7 @@ DCPOMATIC_ENABLE_WARNINGS
_have_current_subtitle = false;
for (auto& i: _next_time) {
- i.second = {};
+ i.second = boost::optional<dcpomatic::ContentTime>();
}
}