# HG changeset patch # User michael # Date 1266085426 0 # Node ID 9673c7b54598c6c59be87c5c79ea8a6406bd0ec0 # Parent e8461dae9672deac2a925f4a1d95fa0f2dc9356f Skip some more code that isnt needed for direct MBs. diff -r e8461dae9672 -r 9673c7b54598 h264.h --- a/h264.h Sat Feb 13 17:42:58 2010 +0000 +++ b/h264.h Sat Feb 13 18:23:46 2010 +0000 @@ -1026,7 +1026,7 @@ *(uint32_t*)h->mv_cache [list][scan8[4 ]]= *(uint32_t*)h->mv_cache [list][scan8[12]]= 0; - if( CABAC ) { + if( CABAC && !IS_DIRECT(mb_type)) { /* XXX beurk, Load mvd */ if(USES_LIST(top_type, list)){ const int b_xy= h->mb2b_xy[top_xy] + 3*h->b_stride;