diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-22 06:25:11 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-22 06:25:11 +0300 |
commit | c67278098def4438fc587744f5df1c147bc95dc3 (patch) | |
tree | 032a9f82fd504566b8e7361d6ea6e80cbda18c0c /libavcodec/h264_loopfilter.c | |
parent | 27ce1be89ba765d4129a638f2dd673e1f6e17682 (diff) |
Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_loopfilter.c')
-rw-r--r-- | libavcodec/h264_loopfilter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c index 485c807fa5..e00baeead2 100644 --- a/libavcodec/h264_loopfilter.c +++ b/libavcodec/h264_loopfilter.c @@ -372,7 +372,7 @@ void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, filter_mb_edgech( &img_cr[2*2*uvlinesize], uvlinesize, bS3, qpc, h); return; } else { - DECLARE_ALIGNED_8(int16_t, bS[2][4][4]); + DECLARE_ALIGNED_8(int16_t, bS)[2][4][4]; uint64_t (*bSv)[4] = (uint64_t(*)[4])bS; int edges; if( IS_8x8DCT(mb_type) && (h->cbp&7) == 7 ) { @@ -457,7 +457,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u int j; for(j=0; j<2; j++, mbn_xy += s->mb_stride){ - DECLARE_ALIGNED_8(int16_t, bS[4]); + DECLARE_ALIGNED_8(int16_t, bS)[4]; int qp; if( IS_INTRA(mb_type|s->current_picture.mb_type[mbn_xy]) ) { *(uint64_t*)bS= 0x0003000300030003ULL; @@ -488,7 +488,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u /* mbn_xy: neighbor macroblock */ const int mbn_xy = edge > 0 ? mb_xy : mbm_xy; const int mbn_type = s->current_picture.mb_type[mbn_xy]; - DECLARE_ALIGNED_8(int16_t, bS[4]); + DECLARE_ALIGNED_8(int16_t, bS)[4]; int qp; if( (edge&1) && IS_8x8DCT(mb_type) ) @@ -632,7 +632,7 @@ void ff_h264_filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint */ const int pair_xy = mb_x + (mb_y&~1)*s->mb_stride; const int left_mb_xy[2] = { pair_xy-1, pair_xy-1+s->mb_stride }; - DECLARE_ALIGNED_8(int16_t, bS[8]); + DECLARE_ALIGNED_8(int16_t, bS)[8]; int qp[2]; int bqp[2]; int rqp[2]; |