Mercurial > libavcodec.hg
changeset 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 | 3b5964de95cd |
children | 98d37cfc40a1 |
files | 8svx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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,