History

avfilter/vf_identity: remove unnecessary check

Limin Wang committed 5 years ago

Commit d150a9e1 parent 84100001 file · +1 −1Browse files

Unified · Split

libavfilter/vf_identity.c+1−1
@@ -296,7 +296,7 @@ static int config_input_ref(AVFilterLink *inlink) · 295 unmodified lines
296 if (!s->scores)296 if (!s->scores)
297 return AVERROR(ENOMEM);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 s->scores[t] = av_calloc(s->nb_components, sizeof(*s->scores[0]));300 s->scores[t] = av_calloc(s->nb_components, sizeof(*s->scores[0]));
301 if (!s->scores[t])301 if (!s->scores[t])
302 return AVERROR(ENOMEM);302 return AVERROR(ENOMEM);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t