diff options
author | Shubhanshu Saxena <shubhanshu.e01@gmail.com> | 2021-05-27 23:35:55 +0530 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2021-05-28 08:40:07 +0800 |
commit | e41255cddb827ee152a58a60ed3ecd4dc6e79847 (patch) | |
tree | 99555469ebb807cf99077a53f51ed76ad391a766 /libavfilter | |
parent | 8205f32663ec492200cdd47216719be15e92fcdb (diff) | |
download | ffmpeg-e41255cddb827ee152a58a60ed3ecd4dc6e79847.tar.gz |
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>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/dnn/dnn_backend_openvino.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index e0781e854a..58c4ec9c9b 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++ b/libavfilter/dnn/dnn_backend_openvino.c @@ -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); |