lavu/tx: fix last coefficient scaling for R2C transforms

This was a typo.
pull/388/head
Lynne 2 years ago
parent 8547123f3b
commit 43d285a40f
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
  1. 2
      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);

Loading…
Cancel
Save