Mercurial > libavcodec.hg
changeset 10920:d7e7c2d42732 libavcodec
filter_mb_fast needs cbp_table to be set.
author | michael |
---|---|
date | Mon, 18 Jan 2010 19:45:02 +0000 |
parents | 241c0f3bba65 |
children | 6d4f65057d0d |
files | h264_cavlc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h264_cavlc.c Mon Jan 18 16:29:16 2010 +0000 +++ b/h264_cavlc.c Mon Jan 18 19:45:02 2010 +0000 @@ -911,14 +911,14 @@ 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)){