mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
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:
parent
8205f32663
commit
e41255cddb
@ -963,7 +963,7 @@ void ff_dnn_free_model_ov(DNNModel **model)
|
||||
ff_safe_queue_destroy(ov_model->request_queue);
|
||||
|
||||
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);
|
||||
}
|
||||
ff_queue_destroy(ov_model->inference_queue);
|
||||
|
Loading…
Reference in New Issue
Block a user