diff options
Diffstat (limited to 'libavfilter/vf_chromakey.c')
-rw-r--r-- | libavfilter/vf_chromakey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_chromakey.c b/libavfilter/vf_chromakey.c index 3309748013..88414783bc 100644 --- a/libavfilter/vf_chromakey.c +++ b/libavfilter/vf_chromakey.c @@ -108,7 +108,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *frame) AVFilterContext *avctx = link->dst; int res; - if (res = avctx->internal->execute(avctx, do_chromakey_slice, frame, NULL, FFMIN(frame->height, avctx->graph->nb_threads))) + if (res = avctx->internal->execute(avctx, do_chromakey_slice, frame, NULL, FFMIN(frame->height, ff_filter_get_nb_threads(avctx)))) return res; return ff_filter_frame(avctx->outputs[0], frame); |