From 4ce8f1232358004cd16f3f83c3dd81e87707ff56 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 20 Apr 2010 16:53:06 -0700 Subject: [PATCH] Fix 10l in cache_load changes Broke constrained intra pred, probably not anything else. --- common/macroblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3