For the pointer have been checked in the previous few lines of code
Unified · Split
| @@ -496,7 +496,7 @@ static int config_input_ref(AVFilterLink *inlink) · 495 unmodified lines | ||
| 496 | 496 | if (!s->score) |
| 497 | 497 | return AVERROR(ENOMEM); |
| 498 | 498 | |
| 499 | − for (int t = 0; t < s->nb_threads && s->score; t++) { | |
| 499 | + for (int t = 0; t < s->nb_threads; t++) { | |
| 500 | 500 | s->score[t] = av_calloc(s->nb_components, sizeof(*s->score[0])); |
| 501 | 501 | if (!s->score[t]) |
| 502 | 502 | return AVERROR(ENOMEM); |