[vlc-commits] audiobargraph: fix callback crash due to missing initializer

Rémi Denis-Courmont git at videolan.org
Thu Mar 20 22:11:03 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 20 22:52:50 2014 +0200| [2a5d95e3147ce0a692bf32375ebe442f1fa14dab] | committer: Rémi Denis-Courmont

audiobargraph: fix callback crash due to missing initializer

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

 modules/video_filter/audiobargraph_v.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_filter/audiobargraph_v.c b/modules/video_filter/audiobargraph_v.c
index 4ca9119..d307bdd 100644
--- a/modules/video_filter/audiobargraph_v.c
+++ b/modules/video_filter/audiobargraph_v.c
@@ -214,6 +214,7 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub )
     if( !p_sys )
         return VLC_ENOMEM;
     p_BarGraph = &(p_sys->p_BarGraph);
+    p_BarGraph->p_pic = NULL;
 
     /* */
     p_sys->p_blend = NULL;



More information about the vlc-commits mailing list