[x264-devel] commit: Fix array overread in b8x16 search (Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Tue Apr 6 21:48:28 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Mar 30 23:30:09 2010 -0700| [2f432c81bb0192d7ebed1fd2f7afd8a431582553] | committer: Jason Garrett-Glaser 

Fix array overread in b8x16 search

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

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

diff --git a/encoder/analyse.c b/encoder/analyse.c
index a38b604..721b117 100644
--- a/encoder/analyse.c
+++ b/encoder/analyse.c
@@ -2121,7 +2121,7 @@ static void x264_mb_analyse_inter_b16x8( x264_t *h, x264_mb_analysis_t *a )
 static void x264_mb_analyse_inter_b8x16( x264_t *h, x264_mb_analysis_t *a )
 {
     ALIGNED_ARRAY_8( uint8_t, pix,[2],[8*16] );
-    ALIGNED_4( int16_t mvc[2][2] );
+    ALIGNED_4( int16_t mvc[3][2] );
     int i, j, l, i_ref;
 
     h->mb.i_partition = D_8x16;



More information about the x264-devel mailing list