Related: CID1591915 Uninitialized scalar variable
Unified · Split
| @@ -269,7 +269,7 @@ static int dxva_get_decoder_guid(AVCodecContext *avctx, void *service, void *sur · 268 unmodified lines | ||
| 269 | 269 | *decoder_guid = ff_GUID_NULL; |
| 270 | 270 | for (i = 0; dxva_modes[i].guid; i++) { |
| 271 | 271 | const dxva_mode *mode = &dxva_modes[i]; |
| 272 | − int validate; | |
| 272 | + int validate = 0; | |
| 273 | 273 | if (!dxva_check_codec_compatibility(avctx, mode)) |
| 274 | 274 | continue; |
| 275 | 275 | |