]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_yadif.c
lavc/alsdec: use get_bitsz() to simplify reading of the mantissa
[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();