[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:58:37 2014 +0100| [3de20de7a6b7b752930944c9a0c84640315b52bd] | committer: Jean-Baptiste Kempf
Spatializer: init pointer member in constructor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3de20de7a6b7b752930944c9a0c84640315b52bd
---
modules/audio_filter/spatializer/allpass.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/audio_filter/spatializer/allpass.cpp b/modules/audio_filter/spatializer/allpass.cpp
index 072ea72..663c561 100644
--- a/modules/audio_filter/spatializer/allpass.cpp
+++ b/modules/audio_filter/spatializer/allpass.cpp
@@ -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)
More information about the vlc-commits
mailing list