avcodec/aacpsy: Remove always-true checks
Possible since 03cf10164578aed33f4d0cb5b69d63669c01a538. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
f0e1a315a1
commit
d0a27e01a6
@ -593,7 +593,6 @@ static float calc_reduced_thr_3gpp(AacPsyBand *band, float min_snr,
|
||||
return thr;
|
||||
}
|
||||
|
||||
#ifndef calc_thr_3gpp
|
||||
static void calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch,
|
||||
const uint8_t *band_sizes, const float *coefs, const int cutoff)
|
||||
{
|
||||
@ -622,9 +621,7 @@ static void calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsy
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* calc_thr_3gpp */
|
||||
|
||||
#ifndef psy_hp_filter
|
||||
static void psy_hp_filter(const float *firbuf, float *hpfsmpl, const float *psy_fir_coeffs)
|
||||
{
|
||||
int i, j;
|
||||
@ -641,7 +638,6 @@ static void psy_hp_filter(const float *firbuf, float *hpfsmpl, const float *psy_
|
||||
hpfsmpl[i] = (sum1 + sum2) * 32768.0f;
|
||||
}
|
||||
}
|
||||
#endif /* psy_hp_filter */
|
||||
|
||||
/**
|
||||
* Calculate band thresholds as suggested in 3GPP TS26.403
|
||||
|
Loading…
x
Reference in New Issue
Block a user