mirror of https://git.ffmpeg.org/ffmpeg.git
compatible_frame array can be static const, too.
Originally committed as revision 19779 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5f28b5e750
commit
b8791583e7
|
@ -1225,7 +1225,7 @@ static void reverse_dc_prediction(Vp3DecodeContext *s,
|
||||||
* from other INTRA blocks. There are 2 golden frame coding types;
|
* from other INTRA blocks. There are 2 golden frame coding types;
|
||||||
* blocks encoding in these modes can only predict from other blocks
|
* blocks encoding in these modes can only predict from other blocks
|
||||||
* that were encoded with these 1 of these 2 modes. */
|
* 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 */
|
1, /* MODE_INTER_NO_MV */
|
||||||
0, /* MODE_INTRA */
|
0, /* MODE_INTRA */
|
||||||
1, /* MODE_INTER_PLUS_MV */
|
1, /* MODE_INTER_PLUS_MV */
|
||||||
|
|
Loading…
Reference in New Issue