# HG changeset patch # User michael # Date 1266101624 0 # Node ID 8070f6a8df50535e827d7478f58d2133f92c490e # Parent d9725977b699417affdaac4648b253fff8985cab Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it for them. diff -r d9725977b699 -r 8070f6a8df50 h264.h --- a/h264.h Sat Feb 13 21:09:38 2010 +0000 +++ b/h264.h Sat Feb 13 22:53:44 2010 +0000 @@ -1452,7 +1452,7 @@ { // just for fill_caches. pred_direct_motion will set the real mb_type mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP; - + if(h->direct_spatial_mv_pred) fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ... ff_h264_pred_direct_motion(h, &mb_type); mb_type|= MB_TYPE_SKIP;