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

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


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 30 19:05:43 2014 +0300| [1e31a5a18bb0087f9e625919a805d64a2af40bbe] | 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.2.git/?a=commit;h=1e31a5a18bb0087f9e625919a805d64a2af40bbe
---

 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