diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-08-21 23:16:56 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-08-21 23:46:07 +0300 |
commit | 999f5160c4587c34e338bbce0333a1307dd1735d (patch) | |
tree | 4e142969fb9437fb7a87fe5cdbbbfcd99898365e /libavfilter | |
parent | 6158029dfc6bb2ae9f55eb63e8573d27b55e2167 (diff) |
avfilter/af_arnndn: use RNN_COPY macro to copy
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_arnndn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_arnndn.c b/libavfilter/af_arnndn.c index 7a26f89709..d2722fb202 100644 --- a/libavfilter/af_arnndn.c +++ b/libavfilter/af_arnndn.c @@ -413,8 +413,7 @@ static void inverse_transform(DenoiseState *st, float *out, const AVComplexFloat AVComplexFloat x[WINDOW_SIZE]; AVComplexFloat y[WINDOW_SIZE]; - for (int i = 0; i < FREQ_SIZE; i++) - x[i] = in[i]; + RNN_COPY(x, in, FREQ_SIZE); for (int i = FREQ_SIZE; i < WINDOW_SIZE; i++) { x[i].re = x[WINDOW_SIZE - i].re; |