[SCM] libav/experimental: Two tables that should be const
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:12:45 UTC 2013
The following commit has been merged in the experimental branch:
commit 9c9519fd39dc1218ed5b6c3a8243ef2ae3655cf9
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Thu Jan 31 12:25:52 2008 +0000
Two tables that should be const
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 52fe2b8..96b9854 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -54,13 +54,13 @@ typedef struct Indeo3DecodeContext {
unsigned short *corrector_type;
} Indeo3DecodeContext;
-static int corrector_type_0[24] = {
+static const int corrector_type_0[24] = {
195, 159, 133, 115, 101, 93, 87, 77,
195, 159, 133, 115, 101, 93, 87, 77,
128, 79, 79, 79, 79, 79, 79, 79
};
-static int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 };
+static const int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 };
static void build_modpred(Indeo3DecodeContext *s)
{
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list