]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_derain.c
dnn: add userdata for load model parameter
[ffmpeg] / libavfilter / vf_derain.c
index ff7d8d63087ef016fdf6be4001d9f448795d5ebe..c251d55ee7f0862978fe0661565413483968f451 100644 (file)
@@ -161,7 +161,7 @@ static av_cold int init(AVFilterContext *ctx)
         return AVERROR(EINVAL);
     }
 
-    dr_context->model = (dr_context->dnn_module->load_model)(dr_context->model_filename, NULL);
+    dr_context->model = (dr_context->dnn_module->load_model)(dr_context->model_filename, NULL, NULL);
     if (!dr_context->model) {
         av_log(ctx, AV_LOG_ERROR, "could not load DNN model\n");
         return AVERROR(EINVAL);