]> git.sesse.net Git - x264/commitdiff
Fix 10l in cache_load changes
authorFiona Glaser <fiona@x264.com>
Tue, 20 Apr 2010 23:53:06 +0000 (16:53 -0700)
committerFiona Glaser <fiona@x264.com>
Fri, 23 Apr 2010 19:40:26 +0000 (12:40 -0700)
Broke constrained intra pred, probably not anything else.

common/macroblock.c

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