Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -1213,6 +1213,7 @@ static DNNModel *dnn_load_model_ov(const char *model_filename, DNNFunctionType f · 1212 unmodified lines | ||
| 1213 | 1213 | if (status != OK) { |
| 1214 | 1214 | goto err; |
| 1215 | 1215 | } |
| 1216 | + ov_model->core = core; | |
| 1216 | 1217 | |
| 1217 | 1218 | status = ov_core_read_model(core, model_filename, NULL, &ovmodel); |
| 1218 | 1219 | if (status != OK) { |
| @@ -1228,7 +1229,6 @@ static DNNModel *dnn_load_model_ov(const char *model_filename, DNNFunctionType f · 9 unmodified lines | ||
| 1228 | 1229 | goto err; |
| 1229 | 1230 | } |
| 1230 | 1231 | ov_model->ov_model = ovmodel; |
| 1231 | − ov_model->core = core; | |
| 1232 | 1232 | #else |
| 1233 | 1233 | ov_model->all_input_names = NULL; |
| 1234 | 1234 | ov_model->all_output_names = NULL; |