diff vp3.c @ 10140:420728852dc0 libavcodec

compatible_frame array can be static const, too.
author reimar
date Sun, 06 Sep 2009 08:27:23 +0000
parents 45cb3db81201
children d0456fd306d2
line wrap: on
line diff
--- a/vp3.c	Sun Sep 06 08:16:26 2009 +0000
+++ b/vp3.c	Sun Sep 06 08:27:23 2009 +0000
@@ -1225,7 +1225,7 @@
      * from other INTRA blocks. There are 2 golden frame coding types;
      * blocks encoding in these modes can only predict from other blocks
      * that were encoded with these 1 of these 2 modes. */
-    unsigned char compatible_frame[8] = {
+    static const unsigned char compatible_frame[8] = {
         1,    /* MODE_INTER_NO_MV */
         0,    /* MODE_INTRA */
         1,    /* MODE_INTER_PLUS_MV */