aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-21 22:16:56 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-21 22:46:07 +0200
commit999f5160c4587c34e338bbce0333a1307dd1735d (patch)
tree4e142969fb9437fb7a87fe5cdbbbfcd99898365e
parent6158029dfc6bb2ae9f55eb63e8573d27b55e2167 (diff)
downloadffmpeg-999f5160c4587c34e338bbce0333a1307dd1735d.tar.gz
avfilter/af_arnndn: use RNN_COPY macro to copy
-rw-r--r--libavfilter/af_arnndn.c3
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;