Module: libav Branch: master Commit: 0abed1d13fdc0fb04873a7763e7a765ba621d66a
Author: Diego Biurrun <[email protected]> Committer: Diego Biurrun <[email protected]> Date: Tue Apr 3 23:47:38 2012 +0200 aacps: Drop some function argument const qualifiers to silence gcc warnings --- libavcodec/aacps.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libavcodec/aacps.c b/libavcodec/aacps.c index fa7e9ac..dcabd85 100644 --- a/libavcodec/aacps.c +++ b/libavcodec/aacps.c @@ -305,7 +305,9 @@ static void hybrid2_re(float (*in)[2], float (*out)[32][2], const float filter[8 } /** Split one subband into 6 subsubbands with a complex filter */ -static void hybrid6_cx(PSDSPContext *dsp, float (*in)[2], float (*out)[32][2], const float (*filter)[8][2], int len) +static void hybrid6_cx(PSDSPContext *dsp, + float (*in)[2], float (*out)[32][2], + float (*filter)[7][2], int len) { int i; int N = 8; @@ -328,7 +330,9 @@ static void hybrid6_cx(PSDSPContext *dsp, float (*in)[2], float (*out)[32][2], c } } -static void hybrid4_8_12_cx(PSDSPContext *dsp, float (*in)[2], float (*out)[32][2], const float (*filter)[8][2], int N, int len) +static void hybrid4_8_12_cx(PSDSPContext *dsp, + float (*in)[2], float (*out)[32][2], + float (*filter)[7][2], int N, int len) { int i; @@ -606,7 +610,8 @@ static void map_val_20_to_34(float par[PS_MAX_NR_IIDICC]) par[ 0] = par[ 0]; } -static void decorrelation(PSContext *ps, float (*out)[32][2], const float (*s)[32][2], int is34) +static void decorrelation(PSContext *ps, float (*out)[32][2], + float (*s)[32][2], int is34) { LOCAL_ALIGNED_16(float, power, [34], [PS_QMF_TIME_SLOTS]); LOCAL_ALIGNED_16(float, transient_gain, [34], [PS_QMF_TIME_SLOTS]); @@ -747,7 +752,7 @@ static void stereo_processing(PSContext *ps, float (*l)[32][2], float (*r)[32][2 int8_t (*ipd_mapped)[PS_MAX_NR_IIDICC] = ipd_mapped_buf; int8_t (*opd_mapped)[PS_MAX_NR_IIDICC] = opd_mapped_buf; const int8_t *k_to_i = is34 ? k_to_i_34 : k_to_i_20; - const float (*H_LUT)[8][4] = (PS_BASELINE || ps->icc_mode < 3) ? HA : HB; + float (*H_LUT)[8][4] = (PS_BASELINE || ps->icc_mode < 3) ? HA : HB; //Remapping if (ps->num_env_old) { _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
