Преглед изворни кода

avcodec/aacpsy: Remove always-true checks

Possible since 03cf10164578aed33f4d0cb5b69d63669c01a538.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt пре 5 месеци
родитељ
комит
d0a27e01a6
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      libavcodec/aacpsy.c

+ 0 - 4
libavcodec/aacpsy.c

@@ -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