comparison vc1.c @ 5894:ca2fcb451a7d libavcodec

add {} to make the else look a little more normal
author michael
date Fri, 09 Nov 2007 21:52:29 +0000
parents 3bdbcfb7e497
children d5790580ed3e
comparison
equal deleted inserted replaced
5893:3bdbcfb7e497 5894:ca2fcb451a7d
3758 { 3758 {
3759 3759
3760 v->s.esc3_level_length = 0; 3760 v->s.esc3_level_length = 0;
3761 if(v->x8_type){ 3761 if(v->x8_type){
3762 ff_intrax8_decode_picture(&v->x8, 2*v->pq+v->halfpq, v->pq*(!v->pquantizer) ); 3762 ff_intrax8_decode_picture(&v->x8, 2*v->pq+v->halfpq, v->pq*(!v->pquantizer) );
3763 }else 3763 }else{
3764 3764
3765 switch(v->s.pict_type) { 3765 switch(v->s.pict_type) {
3766 case I_TYPE: 3766 case I_TYPE:
3767 if(v->profile == PROFILE_ADVANCED) 3767 if(v->profile == PROFILE_ADVANCED)
3768 vc1_decode_i_blocks_adv(v); 3768 vc1_decode_i_blocks_adv(v);
3783 vc1_decode_i_blocks(v); 3783 vc1_decode_i_blocks(v);
3784 }else 3784 }else
3785 vc1_decode_b_blocks(v); 3785 vc1_decode_b_blocks(v);
3786 break; 3786 break;
3787 } 3787 }
3788 }
3788 } 3789 }
3789 3790
3790 /** Find VC-1 marker in buffer 3791 /** Find VC-1 marker in buffer
3791 * @return position where next marker starts or end of buffer if no marker found 3792 * @return position where next marker starts or end of buffer if no marker found
3792 */ 3793 */