projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8152c3d
)
Build fix for Ubuntu-16.04-era compilers.
author
Carl Hetherington
<cth@carlh.net>
Sat, 13 Mar 2021 08:52:37 +0000
(09:52 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 13 Mar 2021 08:52:37 +0000
(09:52 +0100)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 3f0ac8a7d2cd1f0da0fd44b7e7bd303040784e15..c591ba30c09be4e812cb37f94f8ad7e3b1f3f0ee 100644
(file)
--- 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>()
;
}
}