|
|
@@ -410,7 +410,7 @@ static void monolithic_fft(AVTXContext *s, void *_out, void *_in, |
|
|
|
} while ((src = *inplace_idx++)); |
|
|
|
} else { |
|
|
|
for (int i = 0; i < m; i++) |
|
|
|
out[s->revtab[i]] = in[i]; |
|
|
|
out[i] = in[s->revtab[i]]; |
|
|
|
} |
|
|
|
|
|
|
|
fft_dispatch[mb](out); |
|
|
@@ -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))) |
|
|
|
if ((err = ff_tx_gen_ptwo_revtab(s, n == 1 && !(flags & AV_TX_INPLACE)))) |
|
|
|
return err; |
|
|
|
if (flags & AV_TX_INPLACE) { |
|
|
|
if (is_mdct) /* In-place MDCTs are not supported yet */ |
|
|
|