Browse Source

filter_mb_fast needs cbp_table to be set.

Originally committed as revision 21290 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Michael Niedermayer 16 years ago
parent
commit
439d6b1dcf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/h264_cavlc.c

+ 2
- 2
libavcodec/h264_cavlc.c View File

@@ -911,14 +911,14 @@ decode_intra_mb:
else cbp= golomb_to_inter_cbp_gray[cbp];
}
}
h->cbp = cbp;

if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){
if(get_bits1(&s->gb)){
mb_type |= MB_TYPE_8x8DCT;
h->cbp_table[mb_xy]= cbp;
}
}
h->cbp=
h->cbp_table[mb_xy]= cbp;
s->current_picture.mb_type[mb_xy]= mb_type;

if(cbp || IS_INTRA16x16(mb_type)){


Loading…
Cancel
Save