]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_noise.c
avfilter/vf_overlay: add YUVA422P to alpha_pix_fmts
[ffmpeg] / libavfilter / vf_noise.c
index fa3863ed9d1d79dffb836a8bd1426e2def8615c0..abdf04708b9ea0abd48856d244271e1d3e123683 100644 (file)
@@ -272,7 +272,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
     }
 
     td.in = inpicref; td.out = out;
-    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(n->height[0], ctx->graph->nb_threads));
+    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(n->height[0], ff_filter_get_nb_threads(ctx)));
     emms_c();
 
     if (inpicref != out)