summaryrefslogtreecommitdiff
path: root/libavfilter/dnn
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2021-03-13 13:56:40 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-03-18 09:30:09 +0800
commit41f4af16fc00105e570f3f550b4ddba5cabab643 (patch)
treef4e57a7f1cb7e4116f9b455a05e6a791bfa1bbff /libavfilter/dnn
parentbd3ca0859e993a41aae9105e32cd7f2a3c57d468 (diff)
lavfi/dnn_backend_openvino.c: fix typo upon error
Diffstat (limited to 'libavfilter/dnn')
-rw-r--r--libavfilter/dnn/dnn_backend_openvino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c
index df1631e86e..50de6a996e 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -311,7 +311,7 @@ static DNNReturnType init_model_ov(OVModel *ov_model, const char *input_name, co
status = ie_network_set_input_precision(ov_model->network, input_name, U8);
if (status != OK) {
av_log(ctx, AV_LOG_ERROR, "Failed to set input precision as U8 for %s\n", input_name);
- return DNN_ERROR;
+ goto err;
}
}