diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 2f00279d69..c5c73b1173 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -2100,7 +2100,7 @@ static void decode_blocks(SnowContext *s){ } static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){ - const static uint8_t weight[64]={ + static const uint8_t weight[64]={ 8,7,6,5,4,3,2,1, 7,7,0,0,0,0,0,1, 6,0,6,0,0,0,2,0, @@ -2111,7 +2111,7 @@ static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, i 1,7,0,0,0,0,0,1, }; - const static uint8_t brane[256]={ + static const uint8_t brane[256]={ 0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x11,0x12,0x12,0x12,0x12,0x12,0x12,0x12, 0x04,0x05,0xcc,0xcc,0xcc,0xcc,0xcc,0x41,0x15,0x16,0xcc,0xcc,0xcc,0xcc,0xcc,0x52, 0x04,0xcc,0x05,0xcc,0xcc,0xcc,0x41,0xcc,0x15,0xcc,0x16,0xcc,0xcc,0xcc,0x52,0xcc, @@ -2130,7 +2130,7 @@ static void mc_block(Plane *p, uint8_t *dst, const uint8_t *src, uint8_t *tmp, i 0x48,0x85,0xcc,0xcc,0xcc,0xcc,0xcc,0x49,0x59,0x96,0xcc,0xcc,0xcc,0xcc,0xcc,0x5A, }; - const static uint8_t needs[16]={ + static const uint8_t needs[16]={ 0,1,0,0, 2,4,2,0, 0,1,0,0,