From: Jason Garrett-Glaser Date: Tue, 20 Apr 2010 23:53:06 +0000 (-0700) Subject: Fix 10l in cache_load changes X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=4ce8f1232358004cd16f3f83c3dd81e87707ff56;p=x264.git Fix 10l in cache_load changes Broke constrained intra pred, probably not anything else. --- diff --git a/common/macroblock.c b/common/macroblock.c index c54a4dd4..514243fa 100644 --- a/common/macroblock.c +++ b/common/macroblock.c @@ -1033,7 +1033,7 @@ static void inline x264_macroblock_cache_load_neighbours( x264_t *h, int mb_x, i { h->mb.i_neighbour_frame |= MB_TOPLEFT; h->mb.i_mb_topleft_xy = top - 1; - h->mb.i_mb_type_topright = h->mb.type[h->mb.i_mb_topleft_xy]; + h->mb.i_mb_type_topleft = h->mb.type[h->mb.i_mb_topleft_xy]; if( top - 1 >= h->sh.i_first_mb ) { h->mb.i_neighbour |= MB_TOPLEFT; @@ -1047,7 +1047,7 @@ static void inline x264_macroblock_cache_load_neighbours( x264_t *h, int mb_x, i { h->mb.i_neighbour_frame |= MB_TOPRIGHT; h->mb.i_mb_topright_xy = top + 1; - h->mb.i_mb_type_topleft = h->mb.type[h->mb.i_mb_topright_xy]; + h->mb.i_mb_type_topright = h->mb.type[h->mb.i_mb_topright_xy]; if( top + 1 >= h->sh.i_first_mb ) { h->mb.i_neighbour |= MB_TOPRIGHT;