[FFmpeg-devel] [PATCH v5 08/10] libavformat/asfdec: ensure variables are initialized
softworkz
ffmpegagent at gmail.com
Sat May 21 08:21:38 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 fae15d9b05..cb396cccfe 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -978,6 +978,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