[FFmpeg-cvslog] avfilter/af_arnndn: use RNN_COPY macro to copy
Paul B Mahol
git at videolan.org
Fri Aug 21 23:50:37 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Aug 21 22:16:56 2020 +0200| [999f5160c4587c34e338bbce0333a1307dd1735d] | committer: Paul B Mahol
avfilter/af_arnndn: use RNN_COPY macro to copy
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=999f5160c4587c34e338bbce0333a1307dd1735d
---
libavfilter/af_arnndn.c | 3 +--
1 file changed, 1 insertion(+), 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;
More information about the ffmpeg-cvslog
mailing list