changeset 11159:2d5a3c03c219 libavcodec

Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)
author michael
date Sat, 13 Feb 2010 20:13:54 +0000
parents 81c3f88f460f
children 1fa88821c2a8
files h264.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.h	Sat Feb 13 20:13:10 2010 +0000
+++ b/h264.h	Sat Feb 13 20:13:54 2010 +0000
@@ -1014,7 +1014,7 @@
                 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))) {