comparison aaccoder.c @ 12179:fca82e8683d4 libavcodec

10l: Add a missing const.
author alexc
date Fri, 16 Jul 2010 20:28:55 +0000
parents b3c39e9d4d3e
children 8e087b8af4f1
comparison
equal deleted inserted replaced
12178:b3c39e9d4d3e 12179:fca82e8683d4
221 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(UQUAD, 0, 1, 0, 0) 221 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(UQUAD, 0, 1, 0, 0)
222 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(SPAIR, 0, 0, 1, 0) 222 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(SPAIR, 0, 0, 1, 0)
223 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(UPAIR, 0, 1, 1, 0) 223 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(UPAIR, 0, 1, 1, 0)
224 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(ESC, 0, 1, 1, 1) 224 QUANTIZE_AND_ENCODE_BAND_COST_FUNC(ESC, 0, 1, 1, 1)
225 225
226 static float (*quantize_and_encode_band_cost_arr[])( 226 static float (*const quantize_and_encode_band_cost_arr[])(
227 struct AACEncContext *s, 227 struct AACEncContext *s,
228 PutBitContext *pb, const float *in, 228 PutBitContext *pb, const float *in,
229 const float *scaled, int size, int scale_idx, 229 const float *scaled, int size, int scale_idx,
230 int cb, const float lambda, const float uplim, 230 int cb, const float lambda, const float uplim,
231 int *bits) = { 231 int *bits) = {