Mercurial > libavcodec.hg
changeset 11147:9673c7b54598 libavcodec
Skip some more code that isnt needed for direct MBs.
author | michael |
---|---|
date | Sat, 13 Feb 2010 18:23:46 +0000 |
parents | e8461dae9672 |
children | 2d2780630361 |
files | h264.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Sat Feb 13 17:42:58 2010 +0000 +++ b/h264.h Sat Feb 13 18:23:46 2010 +0000 @@ -1026,7 +1026,7 @@ *(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;