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

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


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

avformat: initialize probe data (fixes #11851)

(cherry picked from commit 49bd1c657d960ba107d9db8752f716139a938eee)

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

 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 3bb1266..902ef01 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -106,7 +106,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