]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_curves.c
lavc/parser: export field order if not already set
[ffmpeg] / libavfilter / vf_curves.c
index fef9a0efbb148b29f10bdb9302187cea7676fa80..69ec1084bb3e0933bda9ed3128897bb32fc10502 100644 (file)
@@ -647,7 +647,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
 
     td.in  = in;
     td.out = out;
-    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ctx->graph->nb_threads));
+    ctx->internal->execute(ctx, filter_slice, &td, NULL, FFMIN(outlink->h, ff_filter_get_nb_threads(ctx)));
 
     if (out != in)
         av_frame_free(&in);