Commit b0f67d03 authored by Diego Biurrun's avatar Diego Biurrun Committed by James Almer

ac3enc: Avoid unnecessary macro indirections

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 19e0a67d
...@@ -115,7 +115,7 @@ static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl) ...@@ -115,7 +115,7 @@ static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl)
* *
* @param s AC-3 encoder private context * @param s AC-3 encoder private context
*/ */
av_cold void AC3_NAME(mdct_end)(AC3EncodeContext *s) av_cold void ff_ac3_fixed_mdct_end(AC3EncodeContext *s)
{ {
ff_mdct_end(&s->mdct); ff_mdct_end(&s->mdct);
} }
...@@ -127,7 +127,7 @@ av_cold void AC3_NAME(mdct_end)(AC3EncodeContext *s) ...@@ -127,7 +127,7 @@ av_cold void AC3_NAME(mdct_end)(AC3EncodeContext *s)
* @param s AC-3 encoder private context * @param s AC-3 encoder private context
* @return 0 on success, negative error code on failure * @return 0 on success, negative error code on failure
*/ */
av_cold int AC3_NAME(mdct_init)(AC3EncodeContext *s) av_cold int ff_ac3_fixed_mdct_init(AC3EncodeContext *s)
{ {
int ret = ff_mdct_init(&s->mdct, 9, 0, -1.0); int ret = ff_mdct_init(&s->mdct, 9, 0, -1.0);
s->mdct_window = ff_ac3_window; s->mdct_window = ff_ac3_window;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment