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

index a06fe47397ed70f29991b4f6b1445986b3a45dd5..47b5d71ce6bad274d5479708cb8b936e4bdbe088 100644 (file)
@@ -5,11 +5,13 @@
 // This code is public domain
 
 #include "comb.hpp"
+#include <stddef.h>
 
 comb::comb()
 {
     filterstore = 0;
     bufidx = 0;
+    buffer = NULL;
 }
 
 void comb::setbuffer(float *buf, int size)