diff options
author | Guo, Yejun <yejun.guo@intel.com> | 2021-01-22 22:20:15 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2021-01-28 09:45:13 +0800 |
commit | 06c01f1763bd2a9266659be6097d2fc07e014163 (patch) | |
tree | 1e5f20e8a9164a6b4114de913f693398495dd184 /libavfilter/dnn/dnn_backend_native_layer_mathunary.c | |
parent | a163aa6cf7fea184a2e72cade7a9aa4f841a23f3 (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.c | 2 |
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; |