Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -296,7 +296,7 @@ static int config_input_ref(AVFilterLink *inlink) · 295 unmodified lines | ||
| 296 | 296 | if (!s->scores) |
| 297 | 297 | return AVERROR(ENOMEM); |
| 298 | 298 | |
| 299 | − for (int t = 0; t < s->nb_threads && s->scores; t++) { | |
| 299 | + for (int t = 0; t < s->nb_threads; t++) { | |
| 300 | 300 | s->scores[t] = av_calloc(s->nb_components, sizeof(*s->scores[0])); |
| 301 | 301 | if (!s->scores[t]) |
| 302 | 302 | return AVERROR(ENOMEM); |