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/avf_showspatial.c | |
parent | fced45fd9528e93fd71e792f3ddd9eb4667c2d31 (diff) | |
download | ffmpeg-3bcec58535d395945a390bdc7af4048a7abc60eb.tar.gz |
avfilter: fix av_tx_fn stride usage for complex inputs
Diffstat (limited to 'libavfilter/avf_showspatial.c')
-rw-r--r-- | libavfilter/avf_showspatial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showspatial.c b/libavfilter/avf_showspatial.c index d47719d722..54d7962ec4 100644 --- a/libavfilter/avf_showspatial.c +++ b/libavfilter/avf_showspatial.c @@ -121,7 +121,7 @@ static int run_channel_fft(AVFilterContext *ctx, void *arg, int jobnr, int nb_jo s->fft_tdata[ch][n].im = 0.f; } - s->tx_fn[ch](s->fft[ch], s->fft_data[ch], s->fft_tdata[ch], sizeof(float)); + s->tx_fn[ch](s->fft[ch], s->fft_data[ch], s->fft_tdata[ch], sizeof(AVComplexFloat)); return 0; } |