mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/aacsbr: Remove unused parameter from sbr_gain_calc
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a0fa6b6030
commit
1b048dd443
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue