aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wnv1.c
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2008-06-24 20:01:31 +0000
commitcf2baeb3382283d41eac7886ea831f52262971ba (patch)
tree986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/wnv1.c
parent73cc419b271ac5af8c1aed36b5c0167c7016127a (diff)
downloadffmpeg-cf2baeb3382283d41eac7886ea831f52262971ba.tar.gz
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r--libavcodec/wnv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index bc5d69ae56..70c6338037 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -36,7 +36,7 @@ typedef struct WNV1Context{
GetBitContext gb;
} WNV1Context;
-static uint16_t code_tab[16][2]={
+static const uint16_t code_tab[16][2]={
{0x1FD,9}, {0xFD,8}, {0x7D,7}, {0x3D,6}, {0x1D,5}, {0x0D,4}, {0x005,3},
{0x000,1},
{0x004,3}, {0x0C,4}, {0x1C,5}, {0x3C,6}, {0x7C,7}, {0xFC,8}, {0x1FC,9}, {0xFF,8}