This commit corrects the type of pointer of elements from the inference queue in ff_dnn_free_model_ov.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -963,7 +963,7 @@ void ff_dnn_free_model_ov(DNNModel **model) · 962 unmodified lines | |||
| 963 | ff_safe_queue_destroy(ov_model->request_queue); | 963 | ff_safe_queue_destroy(ov_model->request_queue); |
| 964 | 964 | ||
| 965 | while (ff_queue_size(ov_model->inference_queue) != 0) { | 965 | while (ff_queue_size(ov_model->inference_queue) != 0) { |
| 966 | TaskItem *item = ff_queue_pop_front(ov_model->inference_queue); | 966 | InferenceItem *item = ff_queue_pop_front(ov_model->inference_queue); |
| 967 | av_freep(&item); | 967 | av_freep(&item); |
| 968 | } | 968 | } |
| 969 | ff_queue_destroy(ov_model->inference_queue); | 969 | ff_queue_destroy(ov_model->inference_queue); |