[MPlayer-cvslog] r37251 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Mon Aug 11 19:58:19 CEST 2014


Author: reimar
Date: Mon Aug 11 19:58:18 2014
New Revision: 37251

Log:
Make sure AVProbeData is initialized.

This avoids crashes due to the newly added mime field
not being initialized.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Sat Aug  9 06:14:21 2014	(r37250)
+++ trunk/libmpdemux/demux_lavf.c	Mon Aug 11 19:58:18 2014	(r37251)
@@ -148,7 +148,7 @@ static void list_formats(void) {
 }
 
 static int lavf_check_file(demuxer_t *demuxer){
-    AVProbeData avpd;
+    AVProbeData avpd = { 0 };
     lavf_priv_t *priv;
     int probe_data_size = 0;
     int read_size = INITIAL_PROBE_SIZE;


More information about the MPlayer-cvslog mailing list