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