]> granicus.if.org Git - libx264/commitdiff
Fix 10l in weightp on ARM
authorDavid Conrad <lessen42@gmail.com>
Thu, 12 Nov 2009 04:53:49 +0000 (20:53 -0800)
committerFiona Glaser <fiona@x264.com>
Thu, 12 Nov 2009 04:53:49 +0000 (20:53 -0800)
encoder/slicetype.c

index 9c65d03d22eef590873d6722223db1c471d19229..615510a0547433e94f0416b76a4b9f2f95f8459a 100644 (file)
@@ -132,7 +132,7 @@ static NOINLINE unsigned int x264_weight_cost( x264_t *h, x264_frame_t *fenc, ui
     int i_lines = b_lowres ? fenc->i_lines_lowres : fenc->i_lines[0];
     int i_width = b_lowres ? fenc->i_width_lowres : fenc->i_width[0];
     uint8_t *fenc_plane = b_lowres ? fenc->lowres[0] : fenc->plane[0];
-    ALIGNED_16( uint8_t buf[16*16] );
+    ALIGNED_ARRAY_16( uint8_t, buf,[16*16] );
     int pixoff = 0;
     int i_mb = 0;