tests/src/test-filter.c: avoid redefining o
authorPaul Brossier <piem@piem.org>
Wed, 7 Oct 2009 18:11:00 +0000 (20:11 +0200)
committerPaul Brossier <piem@piem.org>
Wed, 7 Oct 2009 18:11:00 +0000 (20:11 +0200)
tests/src/test-filter.c

index 9a23b94b6dc49c61e27b771ba1e3de55c9e590ea..18323c78f23315d1e38d2774f4ea61a06590f7e4 100644 (file)
@@ -17,14 +17,14 @@ main (void)
   fvec_print (in);
   del_aubio_filter (o);
 
-  aubio_filter_t *o = new_aubio_filter_c_weighting (44100, channels);
+  o = new_aubio_filter_c_weighting (44100, channels);
   in->data[0][12] = 0.5;
   fvec_print (in);
   aubio_filter_do_outplace (o, in, out);
   fvec_print (out);
   del_aubio_filter (o);
 
-  aubio_filter_t *o = new_aubio_filter_c_weighting (44100, channels);
+  o = new_aubio_filter_c_weighting (44100, channels);
   in->data[0][12] = 0.5;
   fvec_print (in);
   aubio_filter_do_filtfilt (o, in, out);