[FFmpeg-cvslog] avfilter/af_aiir: fix invalid memory access with tf filtering
Paul B Mahol
git at videolan.org
Tue May 19 21:13:00 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue May 19 20:03:59 2020 +0200| [b559a5882f54f6ab46b2d058b8526fae6b00ad0f] | committer: Paul B Mahol
avfilter/af_aiir: fix invalid memory access with tf filtering
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b559a5882f54f6ab46b2d058b8526fae6b00ad0f
---
libavfilter/af_aiir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index 89c8936c2f..c56ed0f3a0 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -129,8 +129,8 @@ static int iir_ch_## name(AVFilterContext *ctx, void *arg, int ch, int nb_jobs)
ThreadData *td = arg; \
AVFrame *in = td->in, *out = td->out; \
const type *src = (const type *)in->extended_data[ch]; \
- double *ic = (double *)s->iir[ch].cache[0]; \
- double *oc = (double *)s->iir[ch].cache[1]; \
+ double *oc = (double *)s->iir[ch].cache[0]; \
+ double *ic = (double *)s->iir[ch].cache[1]; \
const int nb_a = s->iir[ch].nb_ab[0]; \
const int nb_b = s->iir[ch].nb_ab[1]; \
const double *a = s->iir[ch].ab[0]; \
More information about the ffmpeg-cvslog
mailing list