Skip some more code that isnt needed for direct MBs.

Originally committed as revision 21798 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2010-02-13 18:23:46 +00:00
parent 4bf2b9e8f3
commit f2b3763736
1 changed files with 1 additions and 1 deletions

View File

@ -1026,7 +1026,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){
*(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;