diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2021-03-13 13:56:40 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-03-18 09:30:09 +0800 |
commit | 41f4af16fc00105e570f3f550b4ddba5cabab643 (patch) | |
tree | f4e57a7f1cb7e4116f9b455a05e6a791bfa1bbff /libavfilter | |
parent | bd3ca0859e993a41aae9105e32cd7f2a3c57d468 (diff) |
lavfi/dnn_backend_openvino.c: fix typo upon error
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/dnn/dnn_backend_openvino.c | 2 |
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; } } |