[FFmpeg-cvslog] avfilter/dnn_backend_tf: silence implicit cast warning
Zhao Zhili
git at videolan.org
Thu Jun 8 06:14:29 EEST 2023
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Sun Apr 30 23:39:02 2023 +0800| [3a5d95e3fad53ef05de78edeaf7e655d1b7495c2] | committer: Zhao Zhili
avfilter/dnn_backend_tf: silence implicit cast warning
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a5d95e3fad53ef05de78edeaf7e655d1b7495c2
---
libavfilter/dnn/dnn_backend_tf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index c15f1a7d3b..b521de7fbe 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -735,7 +735,7 @@ static void infer_completion_callback(void *args) {
outputs[i].width = TF_Dim(infer_request->output_tensors[i], 2);
outputs[i].channels = TF_Dim(infer_request->output_tensors[i], 3);
outputs[i].data = TF_TensorData(infer_request->output_tensors[i]);
- outputs[i].dt = TF_TensorType(infer_request->output_tensors[i]);
+ outputs[i].dt = (DNNDataType)TF_TensorType(infer_request->output_tensors[i]);
}
switch (tf_model->model->func_type) {
case DFT_PROCESS_FRAME:
More information about the ffmpeg-cvslog
mailing list