diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-08-27 23:44:42 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-08-29 17:27:09 +0300 |
commit | a0a57072c93be397afe346d03b907397d6b88396 (patch) | |
tree | 1b3ba1437f6eaab36f9747bf88f3d9e425a69f40 /libavfilter/vf_w3fdif.c | |
parent | 5b1907142dca052c3254d0b4ca3e2ff7ddc7d96b (diff) |
avfilter: make use of ff_filter_get_nb_threads
Diffstat (limited to 'libavfilter/vf_w3fdif.c')
-rw-r--r-- | libavfilter/vf_w3fdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c index e6f6628abe..cde17d246a 100644 --- a/libavfilter/vf_w3fdif.c +++ b/libavfilter/vf_w3fdif.c @@ -170,7 +170,7 @@ static int config_input(AVFilterLink *inlink) s->planeheight[0] = s->planeheight[3] = inlink->h; s->nb_planes = av_pix_fmt_count_planes(inlink->format); - s->nb_threads = ctx->graph->nb_threads; + s->nb_threads = ff_filter_get_nb_threads(ctx); s->work_line = av_calloc(s->nb_threads, sizeof(*s->work_line)); if (!s->work_line) return AVERROR(ENOMEM); |