diff h264_loopfilter.c @ 10961:34a65026fa06 libavcodec

Move array specifiers outside DECLARE_ALIGNED() invocations
author mru
date Fri, 22 Jan 2010 03:25:11 +0000
parents 10759fd39860
children 2e8fbfc278d5
line wrap: on
line diff
--- a/h264_loopfilter.c	Fri Jan 22 01:59:17 2010 +0000
+++ b/h264_loopfilter.c	Fri Jan 22 03:25:11 2010 +0000
@@ -372,7 +372,7 @@
         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 @@
         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 @@
         /* 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 @@
          */
         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];