[x264-devel] commit: Fix 10l in weightp on ARM (David Conrad )

git version control git at videolan.org
Thu Nov 12 21:30:35 CET 2009


x264 | branch: master | David Conrad <lessen42 at gmail.com> | Wed Nov 11 20:53:49 2009 -0800| [b28d98bbc3174e6f38caea49a7c545204e3930d3] | committer: Jason Garrett-Glaser 

Fix 10l in weightp on ARM

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b28d98bbc3174e6f38caea49a7c545204e3930d3
---

 encoder/slicetype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/slicetype.c b/encoder/slicetype.c
index e55494b..c43211f 100644
--- a/encoder/slicetype.c
+++ b/encoder/slicetype.c
@@ -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;
 



More information about the x264-devel mailing list