diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2020-08-24 16:09:59 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-09-21 21:26:56 +0800 |
commit | 6918e240d706f7390272976d8b8d502afe426a18 (patch) | |
tree | 21e95a743464bc61fe755ac9a0d1ce24edbe6fad /libavfilter/vf_derain.c | |
parent | dfbea7b210ac95e59446f9512b25688df44c108b (diff) |
dnn: add userdata for load model parameter
the userdata will be used for the interaction between AVFrame and DNNData
Diffstat (limited to 'libavfilter/vf_derain.c')
-rw-r--r-- | libavfilter/vf_derain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_derain.c b/libavfilter/vf_derain.c index ff7d8d6308..c251d55ee7 100644 --- a/libavfilter/vf_derain.c +++ b/libavfilter/vf_derain.c @@ -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); |