You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_identity: remove unnecessary check
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
@@ -296,7 +296,7 @@ static int config_input_ref(AVFilterLink *inlink)
|
|||||||
if (!s->scores)
|
if (!s->scores)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
|
||||||
for (int t = 0; t < s->nb_threads && s->scores; t++) {
|
for (int t = 0; t < s->nb_threads; t++) {
|
||||||
s->scores[t] = av_calloc(s->nb_components, sizeof(*s->scores[0]));
|
s->scores[t] = av_calloc(s->nb_components, sizeof(*s->scores[0]));
|
||||||
if (!s->scores[t])
|
if (!s->scores[t])
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
Reference in New Issue
Block a user