[FFmpeg-cvslog] lavfi/dnn_backend_openvino.c: fix typo upon error
Guo, Yejun
git at videolan.org
Thu Mar 18 03:56:00 EET 2021
ffmpeg | branch: master | Guo, Yejun <yejun.guo at intel.com> | Sat Mar 13 13:56:40 2021 +0800| [41f4af16fc00105e570f3f550b4ddba5cabab643] | committer: Guo, Yejun
lavfi/dnn_backend_openvino.c: fix typo upon error
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=41f4af16fc00105e570f3f550b4ddba5cabab643
---
libavfilter/dnn/dnn_backend_openvino.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
}
More information about the ffmpeg-cvslog
mailing list