[FFmpeg-cvslog] r11692 - trunk/libavcodec/indeo3.c

reimar subversion
Thu Jan 31 13:25:52 CET 2008


Author: reimar
Date: Thu Jan 31 13:25:52 2008
New Revision: 11692

Log:
Two tables that should be const


Modified:
   trunk/libavcodec/indeo3.c

Modified: trunk/libavcodec/indeo3.c
==============================================================================
--- trunk/libavcodec/indeo3.c	(original)
+++ trunk/libavcodec/indeo3.c	Thu Jan 31 13:25:52 2008
@@ -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)
 {




More information about the ffmpeg-cvslog mailing list