diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-04-30 23:39:02 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-06-08 10:50:24 +0800 |
commit | 3a5d95e3fad53ef05de78edeaf7e655d1b7495c2 (patch) | |
tree | a4fab755a58d4349ae89d47441a20fb32448815c | |
parent | b0c0fedcda87d3699d65576dbea55c2e4ba76253 (diff) | |
download | ffmpeg-3a5d95e3fad53ef05de78edeaf7e655d1b7495c2.tar.gz |
avfilter/dnn_backend_tf: silence implicit cast warning
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rw-r--r-- | libavfilter/dnn/dnn_backend_tf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |