]> git.sesse.net Git - ffmpeg/commitdiff
lavfi/dnn_backend_openvino.c: fix typo upon error
authorGuo, Yejun <yejun.guo@intel.com>
Sat, 13 Mar 2021 05:56:40 +0000 (13:56 +0800)
committerGuo, Yejun <yejun.guo@intel.com>
Thu, 18 Mar 2021 01:30:09 +0000 (09:30 +0800)
libavfilter/dnn/dnn_backend_openvino.c

index df1631e86ee1508840c3544f2ace4a64c9a40881..50de6a996e8628eca67800d315cb4373c130cc10 100644 (file)
@@ -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;
         }
     }