diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-25 22:02:15 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-27 00:11:21 +0100 |
commit | 1b048dd443a0849ab5f3df741f0c7bc854cf13b5 (patch) | |
tree | 838f41e45e2f394829ab8036d61e587988dcf43e | |
parent | a0fa6b6030e7c118c7c41e9c15c80c61ba0a1bae (diff) | |
download | ffmpeg-1b048dd443a0849ab5f3df741f0c7bc854cf13b5.tar.gz |
avcodec/aacsbr: Remove unused parameter from sbr_gain_calc
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/aacsbr.c | 2 | ||||
-rw-r--r-- | libavcodec/aacsbr_fixed.c | 2 | ||||
-rw-r--r-- | libavcodec/aacsbr_template.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index da9e160a57..aafc00049a 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -233,7 +233,7 @@ static void sbr_chirp(SpectralBandReplication *sbr, SBRData *ch_data) * Calculation of levels of additional HF signal components (14496-3 sp04 p219) * and Calculation of gain (14496-3 sp04 p219) */ -static void sbr_gain_calc(AACContext *ac, SpectralBandReplication *sbr, +static void sbr_gain_calc(SpectralBandReplication *sbr, SBRData *ch_data, const int e_a[2]) { int e, k, m; diff --git a/libavcodec/aacsbr_fixed.c b/libavcodec/aacsbr_fixed.c index 3dbda32447..06d07e1941 100644 --- a/libavcodec/aacsbr_fixed.c +++ b/libavcodec/aacsbr_fixed.c @@ -394,7 +394,7 @@ static void sbr_chirp(SpectralBandReplication *sbr, SBRData *ch_data) * Calculation of levels of additional HF signal components (14496-3 sp04 p219) * and Calculation of gain (14496-3 sp04 p219) */ -static void sbr_gain_calc(AACContext *ac, SpectralBandReplication *sbr, +static void sbr_gain_calc(SpectralBandReplication *sbr, SBRData *ch_data, const int e_a[2]) { int e, k, m; diff --git a/libavcodec/aacsbr_template.c b/libavcodec/aacsbr_template.c index ba8e3495b4..e0725b6363 100644 --- a/libavcodec/aacsbr_template.c +++ b/libavcodec/aacsbr_template.c @@ -1513,7 +1513,7 @@ void AAC_RENAME(ff_sbr_apply)(AACContext *ac, SpectralBandReplication *sbr, int err = sbr_mapping(ac, sbr, &sbr->data[ch], sbr->data[ch].e_a); if (!err) { sbr_env_estimate(sbr->e_curr, sbr->X_high, sbr, &sbr->data[ch]); - sbr_gain_calc(ac, sbr, &sbr->data[ch], sbr->data[ch].e_a); + sbr_gain_calc(sbr, &sbr->data[ch], sbr->data[ch].e_a); sbr->c.sbr_hf_assemble(sbr->data[ch].Y[sbr->data[ch].Ypos], (const INTFLOAT (*)[40][2]) sbr->X_high, sbr, &sbr->data[ch], |