Mercurial > libavcodec.hg
diff 8svx.c @ 7981:fcc940b7952e libavcodec
Make 8svx codec context table pointer const to match the type of the
array.
author | reimar |
---|---|
date | Thu, 02 Oct 2008 16:29:06 +0000 |
parents | ccd351dd827b |
children | e9d9d946f213 |
line wrap: on
line diff
--- a/8svx.c Thu Oct 02 16:28:58 2008 +0000 +++ b/8svx.c Thu Oct 02 16:29:06 2008 +0000 @@ -32,7 +32,7 @@ /** decoder context */ typedef struct EightSvxContext { int16_t fib_acc; - int16_t *table; + const int16_t *table; } EightSvxContext; static const int16_t fibonacci[16] = { -34<<8, -21<<8, -13<<8, -8<<8, -5<<8, -3<<8, -2<<8, -1<<8,