shithub: aubio

Download patch

ref: 18f14f96f086304b5047922062199f6a66562ed6
parent: ffa8607e07c2c9e6fd993551ee8d4994796601ff
author: Paul Brossier <piem@piem.org>
date: Mon Nov 25 18:27:33 EST 2013

src/tempo/beattracking.c: also empty output if bp = 0

--- a/src/tempo/beattracking.c
+++ b/src/tempo/beattracking.c
@@ -185,7 +185,7 @@
   /* end of biased filterbank */
 
   if (bp == 0) {
-    output->data[0] = 0;
+    fvec_zeros(output);
     return;
   }
 
--