Consts can't be used as C array size initializers.
(Unless you happen to be using clang...) TBR=bjornv@webrtc.org TEST=build on gcc Review URL: http://webrtc-codereview.appspot.com/333029 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1333 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d047b2e7f6
commit
d77a6614fa
@ -36,7 +36,7 @@
|
||||
// zoom on;
|
||||
|
||||
// Generator table for y=log2(1+e^x) in Q8.
|
||||
static const int kGenFuncTableSize = 128;
|
||||
enum { kGenFuncTableSize = 128 };
|
||||
static const WebRtc_UWord16 kGenFuncTable[kGenFuncTableSize] = {
|
||||
256, 485, 786, 1126, 1484, 1849, 2217, 2586,
|
||||
2955, 3324, 3693, 4063, 4432, 4801, 5171, 5540,
|
||||
|
Loading…
Reference in New Issue
Block a user