C++11 and whitespace cleanups.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index d49878217338fb40e29eab6892b62d44c788ef9d..30a4b1823e8873193051ec2c6e91f9bbfe68f4c8 100644 (file)
@@ -144,7 +144,7 @@ FFmpegDecoder::flush ()
                auto const f = full_length.frames_round (vfr);
                auto v = video->position(film()).get_value_or(ContentTime()).frames_round(vfr) + 1;
                while (v < f) {
-                       video->emit (film(), shared_ptr<const ImageProxy> (new RawImageProxy (_black_image)), v);
+                       video->emit (film(), make_shared<const RawImageProxy>(_black_image), v);
                        ++v;
                }
        }