From edf6cc08480fa8be116009b45530add2573225dc Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 3 Jun 2025 18:17:51 +0200 Subject: [PATCH 5/7] avcodec/aacpsy: Remove always-true checks Possible since 03cf10164578aed33f4d0cb5b69d63669c01a538. Signed-off-by: Andreas Rheinhardt --- libavcodec/aacpsy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 019be09fa3..ac7ae5b28d 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -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 -- 2.45.2