[FFmpeg-cvslog] r21816 - trunk/libavcodec/h264.h

michael subversion
Sat Feb 13 23:53:44 CET 2010


Author: michael
Date: Sat Feb 13 23:53:44 2010
New Revision: 21816

Log:
Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call it
for them.

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Sat Feb 13 22:09:38 2010	(r21815)
+++ trunk/libavcodec/h264.h	Sat Feb 13 23:53:44 2010	(r21816)
@@ -1452,7 +1452,7 @@ static void decode_mb_skip(H264Context *
     {
         // 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;



More information about the ffmpeg-cvslog mailing list