Commit d6efed84 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavf/img2dec: Initialize a stack variable.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 61b9ce00 273fc013
...@@ -395,7 +395,7 @@ int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt) ...@@ -395,7 +395,7 @@ int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt)
} }
if (codec->codec_id == AV_CODEC_ID_NONE) { if (codec->codec_id == AV_CODEC_ID_NONE) {
AVProbeData pd; AVProbeData pd = { 0 };
AVInputFormat *ifmt; AVInputFormat *ifmt;
uint8_t header[PROBE_BUF_MIN + AVPROBE_PADDING_SIZE]; uint8_t header[PROBE_BUF_MIN + AVPROBE_PADDING_SIZE];
int ret; int ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment