diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index b9a1bcfb66672633bb8f03a1f61faa600d9606ae..d70fc756918a5f489abd8beb72833eba9e162b5c 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;