Mercurial > libavcodec.hg
diff vp3.c @ 10961:34a65026fa06 libavcodec
Move array specifiers outside DECLARE_ALIGNED() invocations
| author | mru |
|---|---|
| date | Fri, 22 Jan 2010 03:25:11 +0000 |
| parents | 7c0cc00cabc8 |
| children | df07e602819f |
line wrap: on
line diff
--- a/vp3.c Fri Jan 22 01:59:17 2010 +0000 +++ b/vp3.c Fri Jan 22 03:25:11 2010 +0000 @@ -200,7 +200,7 @@ /* these arrays need to be on 16-byte boundaries since SSE2 operations * index into them */ - DECLARE_ALIGNED_16(int16_t, qmat[3][2][3][64]); //<qmat[qpi][is_inter][plane] + DECLARE_ALIGNED_16(int16_t, qmat)[3][2][3][64]; //<qmat[qpi][is_inter][plane] /* This table contains superblock_count * 16 entries. Each set of 16 * numbers corresponds to the fragment indexes 0..15 of the superblock. @@ -238,7 +238,7 @@ uint16_t huffman_table[80][32][2]; uint8_t filter_limit_values[64]; - DECLARE_ALIGNED_8(int, bounding_values_array[256+2]); + DECLARE_ALIGNED_8(int, bounding_values_array)[256+2]; } Vp3DecodeContext; /************************************************************************ @@ -1397,7 +1397,7 @@ { int x; int16_t *dequantizer; - DECLARE_ALIGNED_16(DCTELEM, block[64]); + DECLARE_ALIGNED_16(DCTELEM, block)[64]; int motion_x = 0xdeadbeef, motion_y = 0xdeadbeef; int motion_halfpel_index; uint8_t *motion_source;
