From: Paul Brossier Date: Fri, 26 Oct 2018 10:51:58 +0000 (+0200) Subject: [pitchshift] make sure rb is set to null first X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=34d4232cb493709ac70de72335d28e24fec95c1a;p=aubio.git [pitchshift] make sure rb is set to null first --- diff --git a/src/effects/pitchshift_rubberband.c b/src/effects/pitchshift_rubberband.c index 6756b73c..d58e6222 100644 --- a/src/effects/pitchshift_rubberband.c +++ b/src/effects/pitchshift_rubberband.c @@ -48,6 +48,7 @@ new_aubio_pitchshift (const char_t * mode, 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;