]> granicus.if.org Git - libx264/commitdiff
Fix array overread in b8x16 search
authorFiona Glaser <fiona@x264.com>
Wed, 31 Mar 2010 06:30:09 +0000 (23:30 -0700)
committerFiona Glaser <fiona@x264.com>
Wed, 31 Mar 2010 17:42:40 +0000 (10:42 -0700)
encoder/analyse.c

index fbb97aba1a46205b3cb0a75df729bf0cdd2aa43d..ce7520af60f233033f523036c81557ba4f0116f4 100644 (file)
@@ -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;