ref: 584714c7121b24c1a02cfd8f0e980d6d4cc84ed1
parent: a3de4be1017f4aabb8ad9843bcb3098cc8968921
author: Paul Brossier <[email protected]>
date: Mon Jun 9 12:56:19 EDT 2014
tests/src/io/test-source_avcodec.c: use HAVE_LIBAV, closes #10
--- a/tests/src/io/test-source_avcodec.c
+++ b/tests/src/io/test-source_avcodec.c
@@ -23,7 +23,7 @@
return err;
}
-#ifdef HAVE_AVCODEC
+#ifdef HAVE_LIBAV
uint_t samplerate = 0;
uint_t hop_size = 256;
uint_t n_frames = 0, read = 0;
@@ -52,9 +52,9 @@
del_fvec (vec);
del_aubio_source_avcodec (s);
beach:
-#else
+#else /* HAVE_LIBAV */
err = 3;
PRINT_ERR("aubio was not compiled with aubio_source_avcodec\n");
-#endif /* HAVE_AVCODEC */
+#endif /* HAVE_LIBAV */
return err;
}