comparison h264.c @ 7237:9a5cdba22eeb libavcodec

H264: Fix decoding with CABAC/delta_qp/PCM macroblocks. Patch by Jason Garrett-Glaser (darkshikari gmail com)
author astrange
date Fri, 11 Jul 2008 02:07:57 +0000
parents f8b6ec3e5538
children 2bd9df0236e8
comparison
equal deleted inserted replaced
7236:6c1244ad5620 7237:9a5cdba22eeb
5744 h->chroma_qp[0] = get_chroma_qp(h, 0, 0); 5744 h->chroma_qp[0] = get_chroma_qp(h, 0, 0);
5745 h->chroma_qp[1] = get_chroma_qp(h, 1, 0); 5745 h->chroma_qp[1] = get_chroma_qp(h, 1, 0);
5746 // All coeffs are present 5746 // All coeffs are present
5747 memset(h->non_zero_count[mb_xy], 16, 16); 5747 memset(h->non_zero_count[mb_xy], 16, 16);
5748 s->current_picture.mb_type[mb_xy]= mb_type; 5748 s->current_picture.mb_type[mb_xy]= mb_type;
5749 h->last_qscale_diff = 0;
5749 return 0; 5750 return 0;
5750 } 5751 }
5751 5752
5752 if(MB_MBAFF){ 5753 if(MB_MBAFF){
5753 h->ref_count[0] <<= 1; 5754 h->ref_count[0] <<= 1;