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

michael subversion
Sat Feb 13 19:23:46 CET 2010


Author: michael
Date: Sat Feb 13 19:23:46 2010
New Revision: 21798

Log:
Skip some more code that isnt needed for direct MBs.

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Sat Feb 13 18:57:24 2010	(r21797)
+++ trunk/libavcodec/h264.h	Sat Feb 13 19:23:46 2010	(r21798)
@@ -1026,7 +1026,7 @@ static void fill_decode_caches(H264Conte
             *(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;



More information about the ffmpeg-cvslog mailing list