]> granicus.if.org Git - libvpx/commitdiff
update structures
authorJohann <johannkoenig@google.com>
Mon, 23 Aug 2010 17:35:26 +0000 (13:35 -0400)
committerJohann <johannkoenig@google.com>
Mon, 23 Aug 2010 17:44:56 +0000 (13:44 -0400)
mbmi and eob moved in previous commits

Change-Id: I30a2eba36addf89ee50b406ad4afdd059a832711

vp8/decoder/detokenize.c

index 9cbea23eac533c5f5f5d53b330e7adfeb8a4506e..0a6235de99172049521cbcad56b45d21b72f08de 100644 (file)
@@ -241,7 +241,7 @@ int vp8_decode_mb_tokens(VP8D_COMP *dx, MACROBLOCKD *x)
 
     type = 3;
 
-    if (x->mbmi.mode != B_PRED && x->mbmi.mode != SPLITMV)
+    if (x->mode_info_context->mbmi.mode != B_PRED && x->mode_info_context->mbmi.mode != SPLITMV)
     {
         type = 1;
         eobtotal -= 16;
@@ -251,7 +251,7 @@ int vp8_decode_mb_tokens(VP8D_COMP *dx, MACROBLOCKD *x)
 
     for (i = 0; i < 25; i++)
     {
-        x->block[i].eob = dx->detoken.eob[i];
+        x->eobs[i] = dx->detoken.eob[i];
         eobtotal += dx->detoken.eob[i];
     }