Mercurial > libavcodec.hg
diff 8svx.c @ 7977:ccd351dd827b libavcodec
Use "static const" instead of "const static"
author | reimar |
---|---|
date | Thu, 02 Oct 2008 15:51:44 +0000 |
parents | 85ab7655ad4d |
children | fcc940b7952e |
line wrap: on
line diff
--- a/8svx.c Thu Oct 02 15:50:24 2008 +0000 +++ b/8svx.c Thu Oct 02 15:51:44 2008 +0000 @@ -35,9 +35,9 @@ int16_t *table; } EightSvxContext; -const static int16_t fibonacci[16] = { -34<<8, -21<<8, -13<<8, -8<<8, -5<<8, -3<<8, -2<<8, -1<<8, +static const int16_t fibonacci[16] = { -34<<8, -21<<8, -13<<8, -8<<8, -5<<8, -3<<8, -2<<8, -1<<8, 0, 1<<8, 2<<8, 3<<8, 5<<8, 8<<8, 13<<8, 21<<8 }; -const static int16_t exponential[16] = { -128<<8, -64<<8, -32<<8, -16<<8, -8<<8, -4<<8, -2<<8, -1<<8, +static const int16_t exponential[16] = { -128<<8, -64<<8, -32<<8, -16<<8, -8<<8, -4<<8, -2<<8, -1<<8, 0, 1<<8, 2<<8, 4<<8, 8<<8, 16<<8, 32<<8, 64<<8 }; /** decode a frame */