aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-05-26 22:23:16 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-08-11 13:21:14 +0200
commit489c05b9c3ea7d856b7a81abce247721b3b3d6e8 (patch)
tree6fc3c54dc87ef424955a96c1d80c10d11792b5a6
parentc8c59e99295f9ef572b5d6f0fd9075bb2b79acbd (diff)
downloadffmpeg-489c05b9c3ea7d856b7a81abce247721b3b3d6e8.tar.gz
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@niedermayer.cc>
-rw-r--r--libavcodec/dxva2.c2
1 files changed, 1 insertions, 1 deletions
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