# HG changeset patch # User michael # Date 1263843902 0 # Node ID d7e7c2d4273251fe7a9e5873da71fa52cb3edc69 # Parent 241c0f3bba6564822e99bce12eefb0174a71b22d filter_mb_fast needs cbp_table to be set. diff -r 241c0f3bba65 -r d7e7c2d42732 h264_cavlc.c --- 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)){