Mercurial > mplayer.hg
diff libmpdemux/demux_lavf.c @ 37155:cb116df2475d
Make sure AVProbeData is initialized.
This avoids crashes due to the newly added mime field
not being initialized.
author | reimar |
---|---|
date | Mon, 11 Aug 2014 17:58:18 +0000 |
parents | 92dd1764392a |
children | 917a3c4c2d39 |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sat Aug 09 04:14:21 2014 +0000 +++ b/libmpdemux/demux_lavf.c Mon Aug 11 17:58:18 2014 +0000 @@ -148,7 +148,7 @@ } 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;