lavfi/dnn_backend_openvino.c: Correct Pointer Type while Freeing

This commit corrects the type of pointer of elements from the
inference queue in ff_dnn_free_model_ov.

Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
This commit is contained in:
Shubhanshu Saxena 2021-05-27 23:35:55 +05:30 committed by Guo Yejun
parent 8205f32663
commit e41255cddb
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ void ff_dnn_free_model_ov(DNNModel **model)
ff_safe_queue_destroy(ov_model->request_queue); ff_safe_queue_destroy(ov_model->request_queue);
while (ff_queue_size(ov_model->inference_queue) != 0) { while (ff_queue_size(ov_model->inference_queue) != 0) {
TaskItem *item = ff_queue_pop_front(ov_model->inference_queue); InferenceItem *item = ff_queue_pop_front(ov_model->inference_queue);
av_freep(&item); av_freep(&item);
} }
ff_queue_destroy(ov_model->inference_queue); ff_queue_destroy(ov_model->inference_queue);