You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master: lavf/img2dec: Initialize a stack variable. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user