[FFmpeg-cvslog] lavu/tx: do not invert permutes on MDCTs
Lynne
git at videolan.org
Sat Feb 27 06:01:37 EET 2021
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Feb 27 04:59:21 2021 +0100| [e20a39a375a9b06821d0e4907ebb327827da192f] | committer: Lynne
lavu/tx: do not invert permutes on MDCTs
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e20a39a375a9b06821d0e4907ebb327827da192f
---
libavutil/tx_template.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
More information about the ffmpeg-cvslog
mailing list