diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-08-21 17:51:26 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-08-22 08:36:20 -0700 |
commit | 1597dba86ae7ba55c8ff001e4cad9a6ce7c30a5d (patch) | |
tree | b47202b737541cf2356c64e2f7ff8f59df9aceaf /libavcodec/aacdec_fixed.c | |
parent | 8d9fe002b33564934da7b6e0c7eba4a43a74d557 (diff) | |
download | ffmpeg-1597dba86ae7ba55c8ff001e4cad9a6ce7c30a5d.tar.gz |
aacdec_fixed: Make exp2tab static const
Diffstat (limited to 'libavcodec/aacdec_fixed.c')
-rw-r--r-- | libavcodec/aacdec_fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec_fixed.c b/libavcodec/aacdec_fixed.c index 2a3dbf6a15..875ef582f4 100644 --- a/libavcodec/aacdec_fixed.c +++ b/libavcodec/aacdec_fixed.c @@ -101,7 +101,7 @@ static av_always_inline void reset_predict_state(PredictorState *ps) ps->var1.exp = 1; } -int exp2tab[4] = { Q31(1.0000000000/2), Q31(1.1892071150/2), Q31(1.4142135624/2), Q31(1.6817928305/2) }; // 2^0, 2^0.25, 2^0.5, 2^0.75 +static const int exp2tab[4] = { Q31(1.0000000000/2), Q31(1.1892071150/2), Q31(1.4142135624/2), Q31(1.6817928305/2) }; // 2^0, 2^0.25, 2^0.5, 2^0.75 static inline int *DEC_SPAIR(int *dst, unsigned idx) { |