]> git.sesse.net Git - vlc/commitdiff
Spatializer: init pointer member in constructor
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 14 Nov 2014 22:58:37 +0000 (23:58 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 14 Nov 2014 22:58:37 +0000 (23:58 +0100)
modules/audio_filter/spatializer/allpass.cpp

index 072ea72f1bfdfb9e24aa5bc84332d33307cf417f..663c5619fe62e0bd7ca3e0607ec83b9170a31f40 100644 (file)
@@ -5,10 +5,12 @@
 // This code is public domain
 
 #include "allpass.hpp"
+#include <stddef.h>
 
 allpass::allpass()
 {
     bufidx = 0;
+    buffer = NULL;
 }
 
 void allpass::setbuffer(float *buf, int size)