aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qpeg.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/qpeg.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/qpeg.c')
-rw-r--r--libavcodec/qpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index 36c864c189..f0ef1ef94c 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -108,9 +108,9 @@ static void qpeg_decode_intra(const uint8_t *src, uint8_t *dst, int size,
}
}
-static int qpeg_table_h[16] =
+static const int qpeg_table_h[16] =
{ 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04};
-static int qpeg_table_w[16] =
+static const int qpeg_table_w[16] =
{ 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04};
/* Decodes delta frames */