X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_examiner.cc;h=2e48810b1ed87779a9bd6e5f53d1df5931cc4a89;hb=5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f;hp=18a87f40e591ab0e27d66b88d2677ea75043bae4;hpb=97d25da42455d0ed93c2eebe023883767bb12d53;p=dcpomatic.git diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index 18a87f40e..2e48810b1 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -32,6 +32,7 @@ extern "C" { #include "util.h" #include "safe_stringstream.h" #include +#include #include #include "i18n.h" @@ -40,6 +41,7 @@ using std::string; using std::cout; using std::max; using boost::shared_ptr; +using boost::make_shared; using boost::optional; /** @param job job that the examiner is operating in, or 0 */ @@ -80,7 +82,7 @@ FFmpegExaminer::FFmpegExaminer (shared_ptr c, shared_ptrcodec->codec_type == AVMEDIA_TYPE_SUBTITLE) { - _subtitle_streams.push_back (shared_ptr (new FFmpegSubtitleStream (subtitle_stream_name (s), s->id))); + _subtitle_streams.push_back (boost::make_shared (subtitle_stream_name (s), s->id)); } }