Commit 1597dba8 authored by Timothy Gu's avatar Timothy Gu

aacdec_fixed: Make exp2tab static const

parent 8d9fe002
...@@ -101,7 +101,7 @@ static av_always_inline void reset_predict_state(PredictorState *ps) ...@@ -101,7 +101,7 @@ static av_always_inline void reset_predict_state(PredictorState *ps)
ps->var1.exp = 1; 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) static inline int *DEC_SPAIR(int *dst, unsigned idx)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment