[vlc-commits] Fix use of unitialized value
Rémi Duraffort
git at videolan.org
Sun Oct 20 09:29:50 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 20 08:57:29 2013 +0200| [cdd7148ab89fb8262593d8d22e53135530b47639] | committer: Rémi Duraffort
Fix use of unitialized value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdd7148ab89fb8262593d8d22e53135530b47639
---
modules/visualization/glspectrum.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/visualization/glspectrum.c b/modules/visualization/glspectrum.c
index e7a32af..a361ef0 100644
--- a/modules/visualization/glspectrum.c
+++ b/modules/visualization/glspectrum.c
@@ -129,6 +129,7 @@ static int Open(vlc_object_t * p_this)
p_sys->i_width = var_InheritInteger(p_filter, "glspectrum-width");
p_sys->i_height = var_InheritInteger(p_filter, "glspectrum-height");
p_sys->i_channels = aout_FormatNbChannels(&p_filter->fmt_in.audio);
+ p_sys->i_prev_nb_samples = 0;
p_sys->p_prev_s16_buff = NULL;
p_sys->f_rotationAngle = 0;
More information about the vlc-commits
mailing list