[FFmpeg-cvslog] lavfi/dnn_backend_openvino.c: Correct Pointer Type while Freeing

Shubhanshu Saxena git at videolan.org
Fri May 28 04:07:42 EEST 2021


ffmpeg | branch: master | Shubhanshu Saxena <shubhanshu.e01 at gmail.com> | Thu May 27 23:53:55 2021 +0530| [e41255cddb827ee152a58a60ed3ecd4dc6e79847] | committer: Guo Yejun

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e41255cddb827ee152a58a60ed3ecd4dc6e79847
---

 libavfilter/dnn/dnn_backend_openvino.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);



More information about the ffmpeg-cvslog mailing list