[FFmpeg-cvslog] avcodec/dxva2: Initialize ConfigBitstreamRaw
Michael Niedermayer
git at videolan.org
Sun Aug 11 14:22:57 EEST 2024
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun May 26 22:23:16 2024 +0200| [489c05b9c3ea7d856b7a81abce247721b3b3d6e8] | committer: Michael Niedermayer
avcodec/dxva2: Initialize ConfigBitstreamRaw
Related: CID1591894 Uninitialized scalar variable
Related: CID1591906 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=489c05b9c3ea7d856b7a81abce247721b3b3d6e8
---
libavcodec/dxva2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
index 75ca84d0fe..550369ba51 100644
--- a/libavcodec/dxva2.c
+++ b/libavcodec/dxva2.c
@@ -118,7 +118,7 @@ static int dxva_get_decoder_configuration(AVCodecContext *avctx,
for (i = 0; i < cfg_count; i++) {
unsigned score;
- UINT ConfigBitstreamRaw;
+ UINT ConfigBitstreamRaw = 0;
GUID guidConfigBitstreamEncryption;
#if CONFIG_D3D11VA
More information about the ffmpeg-cvslog
mailing list