[vlc-commits] avformat: initialize probe data (fixes #11851)

Rémi Denis-Courmont git at videolan.org
Wed Jul 30 18:06:07 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 30 19:05:43 2014 +0300| [49bd1c657d960ba107d9db8752f716139a938eee] | committer: Rémi Denis-Courmont

avformat: initialize probe data (fixes #11851)

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

 modules/demux/avformat/demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index bdd77fd..7349db2 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -157,7 +157,7 @@ int OpenDemux( vlc_object_t *p_this )
 {
     demux_t       *p_demux = (demux_t*)p_this;
     demux_sys_t   *p_sys;
-    AVProbeData   pd;
+    AVProbeData   pd = { };
     AVInputFormat *fmt = NULL;
     unsigned int  i;
     int64_t       i_start_time = -1;



More information about the vlc-commits mailing list