diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /test/ffmpeg_audio_only_test.cc | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'test/ffmpeg_audio_only_test.cc')
| -rw-r--r-- | test/ffmpeg_audio_only_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc index 5e2c130a5..020c2cc13 100644 --- a/test/ffmpeg_audio_only_test.cc +++ b/test/ffmpeg_audio_only_test.cc @@ -40,14 +40,14 @@ using std::min; #if BOOST_VERSION >= 106100 using namespace boost::placeholders; #endif -using boost::shared_ptr; +using std::shared_ptr; static SNDFILE* ref = 0; static int ref_buffer_size = 0; static float* ref_buffer = 0; static void -audio (boost::shared_ptr<AudioBuffers> audio, int channels) +audio (std::shared_ptr<AudioBuffers> audio, int channels) { /* Check that we have a big enough buffer */ BOOST_CHECK (audio->frames() * audio->channels() < ref_buffer_size); |
