forked from FFmpeg/FFmpeg
avcodec/dxva2: initialize validate
Related: CID1591915 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
489c05b9c3
commit
2232c4cc8c
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ static int dxva_get_decoder_guid(AVCodecContext *avctx, void *service, void *sur
|
|||
*decoder_guid = ff_GUID_NULL;
|
||||
for (i = 0; dxva_modes[i].guid; i++) {
|
||||
const dxva_mode *mode = &dxva_modes[i];
|
||||
int validate;
|
||||
int validate = 0;
|
||||
if (!dxva_check_codec_compatibility(avctx, mode))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue