From: Paul Brossier Date: Mon, 9 Jun 2014 19:56:19 +0000 (-0300) Subject: tests/src/io/test-source_avcodec.c: use HAVE_LIBAV, closes #10 X-Git-Tag: 0.4.2~81 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=584714c7121b24c1a02cfd8f0e980d6d4cc84ed1;p=aubio.git tests/src/io/test-source_avcodec.c: use HAVE_LIBAV, closes #10 --- 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; }