diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-08-10 18:48:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-10 18:48:07 +0200 |
commit | d6efed84b1dac904c86c7fc2f33d170e730efb6c (patch) | |
tree | 8885ef75942a532f095f5a691bb5e4e68061881f /libavformat | |
parent | 61b9ce00a30c8bb261678d9c210a06b5eefaed7a (diff) | |
parent | 273fc0139e0add4b45d40849ff88c6df5a7e819b (diff) | |
download | ffmpeg-d6efed84b1dac904c86c7fc2f33d170e730efb6c.tar.gz |
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master:
lavf/img2dec: Initialize a stack variable.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/img2dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index b9a1bcfb66..d70fc75691 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -395,7 +395,7 @@ int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt) } if (codec->codec_id == AV_CODEC_ID_NONE) { - AVProbeData pd; + AVProbeData pd = { 0 }; AVInputFormat *ifmt; uint8_t header[PROBE_BUF_MIN + AVPROBE_PADDING_SIZE]; int ret; |