diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-11-19 00:04:06 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-11-19 00:25:47 +0100 |
commit | 3bcec58535d395945a390bdc7af4048a7abc60eb (patch) | |
tree | 546bd261df502f7cc20de858a2e624974f9adaee /libavfilter/asrc_afirsrc.c | |
parent | fced45fd9528e93fd71e792f3ddd9eb4667c2d31 (diff) | |
download | ffmpeg-3bcec58535d395945a390bdc7af4048a7abc60eb.tar.gz |
avfilter: fix av_tx_fn stride usage for complex inputs
Diffstat (limited to 'libavfilter/asrc_afirsrc.c')
-rw-r--r-- | libavfilter/asrc_afirsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/asrc_afirsrc.c b/libavfilter/asrc_afirsrc.c index 615242e0f5..d2ea92c41c 100644 --- a/libavfilter/asrc_afirsrc.c +++ b/libavfilter/asrc_afirsrc.c @@ -239,7 +239,7 @@ static av_cold int config_output(AVFilterLink *outlink) lininterp(s->complexf, s->freq, s->magnitude, s->phase, s->nb_freq, fft_size / 2); - s->tx_fn(s->tx_ctx, s->complexf + fft_size, s->complexf, sizeof(float)); + s->tx_fn(s->tx_ctx, s->complexf + fft_size, s->complexf, sizeof(*s->complexf)); compensation = 2.f / fft_size; middle = s->nb_taps / 2; |