diff options
author | Lynne <dev@lynne.ee> | 2022-11-19 14:16:30 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-24 15:58:35 +0100 |
commit | 43d285a40f11e15839b784c85bbbcc7fafd135b5 (patch) | |
tree | 00e0ccd275e51fb6e0000b95299515ef534ef4f2 /libavutil | |
parent | 8547123f3b13da5a135994f4253686e67953be55 (diff) | |
download | ffmpeg-43d285a40f11e15839b784c85bbbcc7fafd135b5.tar.gz |
lavu/tx: fix last coefficient scaling for R2C transforms
This was a typo.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/tx_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tx_template.c b/libavutil/tx_template.c index 59295e06ca..f33bcf85de 100644 --- a/libavutil/tx_template.c +++ b/libavutil/tx_template.c @@ -1622,7 +1622,7 @@ static av_cold int TX_NAME(ff_tx_rdft_init)(AVTXContext *s, m = (inv ? 2*s->scale_d : s->scale_d); *tab++ = RESCALE((inv ? 0.5 : 1.0) * m); - *tab++ = RESCALE(inv ? 0.5*m : 1.0); + *tab++ = RESCALE(inv ? 0.5*m : 1.0*m); *tab++ = RESCALE( m); *tab++ = RESCALE(-m); |