summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-13 09:52:37 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-13 09:52:37 +0100
commitaf9aa6d104f9a9f41f0d06e4407d7bf7b36fecbf (patch)
tree8ced9b6aeb8e2eeab605789fd81f4e51e9827da0 /src/lib/ffmpeg_decoder.cc
parent8152c3dfa6c396cfb1ffa5618ffae0368eaa24a3 (diff)
Build fix for Ubuntu-16.04-era compilers.
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>();
}
}