You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/aacpsy: Remove always-true checks
Possible since 03cf101645
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -593,7 +593,6 @@ static float calc_reduced_thr_3gpp(AacPsyBand *band, float min_snr,
|
|||||||
return thr;
|
return thr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef calc_thr_3gpp
|
|
||||||
static void calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch,
|
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)
|
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)
|
static void psy_hp_filter(const float *firbuf, float *hpfsmpl, const float *psy_fir_coeffs)
|
||||||
{
|
{
|
||||||
int i, j;
|
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;
|
hpfsmpl[i] = (sum1 + sum2) * 32768.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* psy_hp_filter */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculate band thresholds as suggested in 3GPP TS26.403
|
* Calculate band thresholds as suggested in 3GPP TS26.403
|
||||||
|
Reference in New Issue
Block a user