diff options
author | Lynne <dev@lynne.ee> | 2021-02-27 04:59:21 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-02-27 05:01:17 +0100 |
commit | e20a39a375a9b06821d0e4907ebb327827da192f (patch) | |
tree | 8037c2e2a1893a31f3ce0f5e4f0ab975ac1fe27d /libavutil | |
parent | 963d4b76debd3b7577a8e35fb40662974d52fe28 (diff) | |
download | ffmpeg-e20a39a375a9b06821d0e4907ebb327827da192f.tar.gz |
lavu/tx: do not invert permutes on MDCTs
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 0c76e0ed6f..a436f426d2 100644 --- a/libavutil/tx_template.c +++ b/libavutil/tx_template.c @@ -738,7 +738,7 @@ int TX_NAME(ff_tx_init_mdct_fft)(AVTXContext *s, av_tx_fn *tx, if (n != 1) init_cos_tabs(0); if (m != 1) { - if ((err = ff_tx_gen_ptwo_revtab(s, n == 1 && !(flags & AV_TX_INPLACE)))) + if ((err = ff_tx_gen_ptwo_revtab(s, n == 1 && !is_mdct && !(flags & AV_TX_INPLACE)))) return err; if (flags & AV_TX_INPLACE) { if (is_mdct) /* In-place MDCTs are not supported yet */ |