Mercurial > libavcodec.hg
changeset 3519:5ef29058581e libavcodec
10l in r5768 (broke mbaff)
author | lorenm |
---|---|
date | Thu, 27 Jul 2006 20:37:21 +0000 |
parents | 6bd323607d87 |
children | a48c957d0377 |
files | h264.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Thu Jul 27 12:31:31 2006 +0000 +++ b/h264.c Thu Jul 27 20:37:21 2006 +0000 @@ -841,7 +841,7 @@ assert((!left_type[0]) == (!left_type[1])); } - if(for_deblock || (IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred)) + if((for_deblock || (IS_DIRECT(mb_type) && !h->direct_spatial_mv_pred)) && !FRAME_MBAFF) continue; if(USES_LIST(topleft_type, list)){ @@ -864,7 +864,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)) + if((IS_SKIP(mb_type) || IS_DIRECT(mb_type)) && !FRAME_MBAFF) continue; h->ref_cache[list][scan8[5 ]+1] =