diff --git a/libavcodec/h264.h b/libavcodec/h264.h index e4e8556e3e6759a3bae673fc193c8c17bd68feeb..8e2b7763d52128aecff6818a1dbfaa4eb998798c 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -813,6 +813,8 @@ static av_always_inline int fill_caches(H264Context *h, int mb_type, int for_deb *((uint32_t*)&h->non_zero_count_cache[4+8*3])= *((uint32_t*)&h->non_zero_count[mb_xy][20]); *((uint64_t*)&h->non_zero_count_cache[0+8*4])= *((uint64_t*)&h->non_zero_count[mb_xy][24]); + h->cbp= h->cbp_table[mb_xy]; + topleft_type = 0; topright_type = 0; top_type = h->slice_table[top_xy ] < 0xFFFF ? s->current_picture.mb_type[top_xy] : 0;