summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc_template.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-10-26 13:12:58 +0200
committerLynne <dev@lynne.ee>2022-11-06 14:39:27 +0100
commit4cee7ebd75205bca06ca8010711ae2f83a55caa6 (patch)
tree5f59cfe4a3a636a1e7cb81cea8b214076824c823 /libavcodec/ac3enc_template.c
parent2508e846a82bcab19fc7feaa573f4b0863b1a8b7 (diff)
ac3: convert to lavu/tx
Diffstat (limited to 'libavcodec/ac3enc_template.c')
-rw-r--r--libavcodec/ac3enc_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c
index de66964d0d..be4ecebc9c 100644
--- a/libavcodec/ac3enc_template.c
+++ b/libavcodec/ac3enc_template.c
@@ -98,8 +98,8 @@ static void apply_mdct(AC3EncodeContext *s)
&input_samples[AC3_BLOCK_SIZE],
s->mdct_window, AC3_BLOCK_SIZE);
- s->mdct.mdct_calc(&s->mdct, block->mdct_coef[ch+1],
- s->windowed_samples);
+ s->tx_fn(s->tx, block->mdct_coef[ch+1],
+ s->windowed_samples, sizeof(float));
}
}
}