ref: 34d4232cb493709ac70de72335d28e24fec95c1a
parent: 1a3d3b7dc3f3568b2fd5a57928dc8761654f19b2
author: Paul Brossier <piem@piem.org>
date: Fri Oct 26 08:51:58 EDT 2018
[pitchshift] make sure rb is set to null first
--- a/src/effects/pitchshift_rubberband.c
+++ b/src/effects/pitchshift_rubberband.c
@@ -48,6 +48,7 @@
p->samplerate = samplerate;
p->hopsize = hopsize;
p->pitchscale = 1.;
+ p->rb = NULL;
if ((sint_t)hopsize <= 0) {
AUBIO_ERR("pitchshift: hop_size should be >= 0, got %d\n", hopsize);
goto beach;