Reduce the disk space needed when running tests.
[dcpomatic.git] / test / ffmpeg_audio_only_test.cc
index 6fc9f9f2cda58f03a5beef38abaed9edc115589b..020c2cc13aa7e292c2ad7de1b01174329ab417aa 100644 (file)
@@ -20,7 +20,7 @@
 
 /** @file  test/ffmpeg_audio_only_test.cc
  *  @brief Test FFmpeg content with audio but no video.
- *  @ingroup specific
+ *  @ingroup feature
  */
 
 #include "lib/film.h"
 #include <iostream>
 
 using std::min;
-using boost::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
+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);