[vlc-commits] Spatializer: init pointer member in constructor

Jean-Baptiste Kempf git at videolan.org
Sat Nov 15 00:00:12 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 14 23:56:17 2014 +0100| [78a167717a2a2a2e8230c33fe0224d6a746bf426] | committer: Jean-Baptiste Kempf

Spatializer: init pointer member in constructor

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78a167717a2a2a2e8230c33fe0224d6a746bf426
---

 modules/audio_filter/spatializer/comb.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/audio_filter/spatializer/comb.cpp b/modules/audio_filter/spatializer/comb.cpp
index a06fe47..47b5d71 100644
--- a/modules/audio_filter/spatializer/comb.cpp
+++ b/modules/audio_filter/spatializer/comb.cpp
@@ -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)



More information about the vlc-commits mailing list