Make 8svx codec context table pointer const to match the type of the
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 2 Oct 2008 16:29:06 +0000 (16:29 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 2 Oct 2008 16:29:06 +0000 (16:29 +0000)
array.

Originally committed as revision 15519 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/8svx.c

index e4a5d84..a9d16ac 100644 (file)
@@ -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,