# HG changeset patch # User diego # Date 1155032666 0 # Node ID 6805c1e5507e12a45be4ec29633614e23d523795 # Parent 5ea82888103e412029d9d81e969c4932f668b626 Fix some "'static' is not at beginning of declaration" warnings. diff -r 5ea82888103e -r 6805c1e5507e mpeg12data.h --- a/mpeg12data.h Tue Aug 08 04:01:04 2006 +0000 +++ b/mpeg12data.h Tue Aug 08 10:24:26 2006 +0000 @@ -367,7 +367,7 @@ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, }; -const static uint8_t mpeg2_dc_scale_table1[128]={ +static const uint8_t mpeg2_dc_scale_table1[128]={ // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, diff -r 5ea82888103e -r 6805c1e5507e sh4/idct_sh4.c --- a/sh4/idct_sh4.c Tue Aug 08 04:01:04 2006 +0000 +++ b/sh4/idct_sh4.c Tue Aug 08 10:24:26 2006 +0000 @@ -27,14 +27,14 @@ #define c6 0.54119610014619712324 /* sqrt(2)*cos(6*pi/16) */ #define c7 0.27589937928294311353 /* sqrt(2)*cos(7*pi/16) */ -const static float even_table[] __attribute__ ((aligned(8))) = { +static const float even_table[] __attribute__ ((aligned(8))) = { c4, c4, c4, c4, c2, c6,-c6,-c2, c4,-c4,-c4, c4, c6,-c2, c2,-c6 }; -const static float odd_table[] __attribute__ ((aligned(8))) = { +static const float odd_table[] __attribute__ ((aligned(8))) = { c1, c3, c5, c7, c3,-c7,-c1,-c5, c5,-c1, c7, c3, diff -r 5ea82888103e -r 6805c1e5507e snow.c --- a/snow.c Tue Aug 08 04:01:04 2006 +0000 +++ b/snow.c Tue Aug 08 10:24:26 2006 +0000 @@ -3163,7 +3163,7 @@ const int ref_stride= s->current_picture.linesize[plane_index]; uint8_t *dst= s->current_picture.data[plane_index]; uint8_t *src= s-> input_picture.data[plane_index]; - const static DWTELEM zero_dst[4096]; //FIXME + static const DWTELEM zero_dst[4096]; //FIXME const int b_stride = s->b_width << s->block_max_depth; const int b_height = s->b_height<< s->block_max_depth; const int w= p->width;