]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_yadif.c
Merge commit 'e78e5b735fd559bc7aa3f5a01e9c8d37dc2ec6d8'
[ffmpeg] / libavfilter / vf_yadif.c
index 8e6522cf3fa211f89d42de33b749faf619c5022d..694ac44999ff17a25d01a34572ff40260b75852e 100644 (file)
@@ -242,7 +242,7 @@ static void filter(AVFilterContext *ctx, AVFrame *dstpic,
         td.h       = h;
         td.plane   = i;
 
-        ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ctx->graph->nb_threads));
+        ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(h, ff_filter_get_nb_threads(ctx)));
     }
 
     emms_c();