[FFmpeg-devel] [PATCH v2 09/11] libavformat/asfdec: ensure variables are initialized
softworkz
ffmpegagent at gmail.com
Sat May 7 12:36:42 EEST 2022
From: softworkz <softworkz at hotmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
---
libavformat/asfdec_f.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index 8283f245ab..024d77903b 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -968,6 +968,7 @@ static int asf_get_packet(AVFormatContext *s, AVIOContext *pb)
avio_seek(pb, -1, SEEK_CUR); // FIXME
}
} else {
+ d = e = 0;
c = avio_r8(pb);
if (c & 0x80) {
rsize ++;
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list