From 584714c7121b24c1a02cfd8f0e980d6d4cc84ed1 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 9 Jun 2014 16:56:19 -0300 Subject: [PATCH] tests/src/io/test-source_avcodec.c: use HAVE_LIBAV, closes #10 --- tests/src/io/test-source_avcodec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/io/test-source_avcodec.c b/tests/src/io/test-source_avcodec.c index 553d5269..b07c9414 100644 --- a/tests/src/io/test-source_avcodec.c +++ b/tests/src/io/test-source_avcodec.c @@ -23,7 +23,7 @@ int main (int argc, char **argv) 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 @@ int main (int argc, char **argv) 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; } -- 2.11.0