summaryrefslogtreecommitdiff
path: root/libavfilter/dnn/dnn_backend_native.c
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2021-05-17 10:31:16 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-05-24 09:09:34 +0800
commit4c705a2775afca7eadc40835bfaafb29a9c5c38a (patch)
tree5c62ca48eb87c7140072e0734ac4dc3d6cb4c38b /libavfilter/dnn/dnn_backend_native.c
parentcde6d0288fc9bd2238b5078b4d998569ba65b2b7 (diff)
lavfi/dnn: refine code to separate processing and detection in backends
Diffstat (limited to 'libavfilter/dnn/dnn_backend_native.c')
-rw-r--r--libavfilter/dnn/dnn_backend_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn/dnn_backend_native.c b/libavfilter/dnn/dnn_backend_native.c
index b5f1c16538..a6be27f1fd 100644
--- a/libavfilter/dnn/dnn_backend_native.c
+++ b/libavfilter/dnn/dnn_backend_native.c
@@ -314,7 +314,7 @@ static DNNReturnType execute_model_native(const DNNModel *model, const char *inp
if (native_model->model->frame_pre_proc != NULL) {
native_model->model->frame_pre_proc(in_frame, &input, native_model->model->filter_ctx);
} else {
- ff_proc_from_frame_to_dnn(in_frame, &input, native_model->model->func_type, ctx);
+ ff_proc_from_frame_to_dnn(in_frame, &input, ctx);
}
}