summaryrefslogtreecommitdiff
path: root/libavfilter/dnn/dnn_backend_native_layer_mathunary.c
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2021-01-22 22:20:15 +0800
committerGuo, Yejun <yejun.guo@intel.com>2021-01-28 09:45:13 +0800
commit06c01f1763bd2a9266659be6097d2fc07e014163 (patch)
tree1e5f20e8a9164a6b4114de913f693398495dd184 /libavfilter/dnn/dnn_backend_native_layer_mathunary.c
parenta163aa6cf7fea184a2e72cade7a9aa4f841a23f3 (diff)
dnn: remove type cast which is not necessary
Diffstat (limited to 'libavfilter/dnn/dnn_backend_native_layer_mathunary.c')
-rw-r--r--libavfilter/dnn/dnn_backend_native_layer_mathunary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/dnn/dnn_backend_native_layer_mathunary.c b/libavfilter/dnn/dnn_backend_native_layer_mathunary.c
index 77e36c6ed3..1bb05d02a7 100644
--- a/libavfilter/dnn/dnn_backend_native_layer_mathunary.c
+++ b/libavfilter/dnn/dnn_backend_native_layer_mathunary.c
@@ -57,7 +57,7 @@ int ff_dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_o
{
const DnnOperand *input = &operands[input_operand_indexes[0]];
DnnOperand *output = &operands[output_operand_index];
- const DnnLayerMathUnaryParams *params = (const DnnLayerMathUnaryParams *)parameters;
+ const DnnLayerMathUnaryParams *params = parameters;
int dims_count;
const float *src;
float *dst;