From 19998314cdb4c83aca39adc058465e06937f20f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de>
Date: Thu, 2 Oct 2008 16:29:06 +0000
Subject: [PATCH] Make 8svx codec context table pointer const to match the type
 of the array.

Originally committed as revision 15519 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/8svx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
index e4a5d84effe..a9d16acea37 100644
--- a/libavcodec/8svx.c
+++ b/libavcodec/8svx.c
@@ -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,
-- 
GitLab