Mercurial > mplayer.hg
changeset 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 | c0946b91b5bc |
children | 745cab80f88d |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;