Mercurial > libavcodec.hg
comparison h264.c @ 2311:cdbb2f30e08b libavcodec
small typo patch by (Gildas Bazin <gbazin at altern dot org>)
author | michael |
---|---|
date | Fri, 22 Oct 2004 19:55:57 +0000 |
parents | c5cd8a064c34 |
children | cb958ec6dfee |
comparison
equal
deleted
inserted
replaced
2310:c5cd8a064c34 | 2311:cdbb2f30e08b |
---|---|
4113 static int decode_cabac_b_mb_sub_type( H264Context *h ) { | 4113 static int decode_cabac_b_mb_sub_type( H264Context *h ) { |
4114 int type; | 4114 int type; |
4115 if( !get_cabac( &h->cabac, &h->cabac_state[36] ) ) | 4115 if( !get_cabac( &h->cabac, &h->cabac_state[36] ) ) |
4116 return 0; /* B_Direct_8x8 */ | 4116 return 0; /* B_Direct_8x8 */ |
4117 if( !get_cabac( &h->cabac, &h->cabac_state[37] ) ) | 4117 if( !get_cabac( &h->cabac, &h->cabac_state[37] ) ) |
4118 return 1 + get_cabac( &h->cabac, &h->cabac_state[38] ); /* B_L0_8x8, B_L1_8x8 */ | 4118 return 1 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L0_8x8, B_L1_8x8 */ |
4119 type = 3; | 4119 type = 3; |
4120 if( get_cabac( &h->cabac, &h->cabac_state[38] ) ) { | 4120 if( get_cabac( &h->cabac, &h->cabac_state[38] ) ) { |
4121 if( get_cabac( &h->cabac, &h->cabac_state[39] ) ) | 4121 if( get_cabac( &h->cabac, &h->cabac_state[39] ) ) |
4122 return 11 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L1_4x4, B_Bi_4x4 */ | 4122 return 11 + get_cabac( &h->cabac, &h->cabac_state[39] ); /* B_L1_4x4, B_Bi_4x4 */ |
4123 type += 4; | 4123 type += 4; |