X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_decoder.cc;h=c591ba30c09be4e812cb37f94f8ad7e3b1f3f0ee;hb=af9aa6d104f9a9f41f0d06e4407d7bf7b36fecbf;hp=3f0ac8a7d2cd1f0da0fd44b7e7bd303040784e15;hpb=431127d27fe697a60872d6020a8a5abcb47fa9e1;p=dcpomatic.git 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 film, shared_ptrffmpeg_audio_streams()) { - _next_time[i] = {}; + _next_time[i] = boost::optional(); } } @@ -444,7 +444,7 @@ DCPOMATIC_ENABLE_WARNINGS _have_current_subtitle = false; for (auto& i: _next_time) { - i.second = {}; + i.second = boost::optional(); } }