diff options
Diffstat (limited to 'test/ffmpeg_audio_only_test.cc')
| -rw-r--r-- | test/ffmpeg_audio_only_test.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc index 2101e9774..bad800e57 100644 --- a/test/ffmpeg_audio_only_test.cc +++ b/test/ffmpeg_audio_only_test.cc @@ -27,10 +27,8 @@ #include "test.h" #include <sndfile.h> #include <boost/test/unit_test.hpp> -#include <boost/make_shared.hpp> using boost::shared_ptr; -using boost::make_shared; /** Test the FFmpeg code with audio-only content */ static void @@ -39,7 +37,7 @@ test (boost::filesystem::path file) shared_ptr<Film> film = new_test_film ("ffmpeg_audio_only_test"); film->set_name ("test_film"); film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test")); - shared_ptr<FFmpegContent> c = make_shared<FFmpegContent> (film, file); + shared_ptr<FFmpegContent> c (new FFmpegContent (film, file)); film->examine_and_add_content (c); wait_for_jobs (); film->write_metadata (); @@ -58,7 +56,7 @@ test (boost::filesystem::path file) BOOST_REQUIRE_EQUAL (info.samplerate, 48000); float* ref_buffer = new float[info.samplerate * info.channels]; - shared_ptr<Player> player = make_shared<Player> (film, film->playlist ()); + shared_ptr<Player> player (new Player (film, film->playlist ())); for (DCPTime t; t < film->length(); t += DCPTime::from_seconds (1)) { int const N = sf_readf_float (ref, ref_buffer, info.samplerate); |
