]> git.sesse.net Git - ffmpeg/commitdiff
Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Feb 2010 20:13:54 +0000 (20:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 13 Feb 2010 20:13:54 +0000 (20:13 +0000)
Originally committed as revision 21812 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.h

index ae95e5984f065c07053fc9aa149bf0667492ad30..d8dbff7cfd1d304d77f6c8742f5b08479a42834a 100644 (file)
@@ -1014,7 +1014,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){
                 h->ref_cache[list][scan8[0] + 4 - 1*8]= topright_type ? LIST_NOT_USED : PART_NOT_AVAILABLE;
             }
 
-            if((IS_SKIP(mb_type) || IS_DIRECT(mb_type)) && !FRAME_MBAFF)
+            if((mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2)) && !FRAME_MBAFF)
                 continue;
 
             if(!(mb_type&(MB_TYPE_SKIP|MB_TYPE_DIRECT2))) {