Browse Source

Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)

Originally committed as revision 21812 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 16 years ago
parent
commit
bb770c5b52
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h264.h

+ 1
- 1
libavcodec/h264.h View 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))) {


Loading…
Cancel
Save