Mercurial > libavcodec.hg
changeset 10140:420728852dc0 libavcodec
compatible_frame array can be static const, too.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 08:27:23 +0000 |
parents | de9335d4b6b1 |
children | 69d79f51b8ce |
files | vp3.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 */