projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New libcxml API.
[dcpomatic.git]
/
test
/
ffmpeg_audio_only_test.cc
diff --git
a/test/ffmpeg_audio_only_test.cc
b/test/ffmpeg_audio_only_test.cc
index 6fc9f9f2cda58f03a5beef38abaed9edc115589b..020c2cc13aa7e292c2ad7de1b01174329ab417aa 100644
(file)
--- a/
test/ffmpeg_audio_only_test.cc
+++ b/
test/ffmpeg_audio_only_test.cc
@@
-20,7
+20,7
@@
/** @file test/ffmpeg_audio_only_test.cc
* @brief Test FFmpeg content with audio but no video.
/** @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 "lib/film.h"
@@
-37,14
+37,17
@@
#include <iostream>
using std::min;
#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
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);
{
/* Check that we have a big enough buffer */
BOOST_CHECK (audio->frames() * audio->channels() < ref_buffer_size);