# HG changeset patch # User reimar # Date 1252225643 0 # Node ID 420728852dc069dff56aa2efb9f6e4de2fd289b8 # Parent de9335d4b6b1022c2c17500f2529ee73830c319e compatible_frame array can be static const, too. diff -r de9335d4b6b1 -r 420728852dc0 vp3.c --- 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 */