Message ID | 20240526235230.2876318-2-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,01/17] avcodec/dxva2: Initialize dxva_size and check it | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Mon, May 27, 2024 at 01:52:14AM +0200, Michael Niedermayer wrote: > Fixes: CID1591894 Uninitialized scalar variable > Fixes: CID1591906 Uninitialized scalar variable > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> > --- > libavcodec/dxva2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply patches 2-4 [...]
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index 75ca84d0fe0..550369ba51f 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
Fixes: CID1591894 Uninitialized scalar variable Fixes: CID1591906 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/dxva2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)