comparison h263.c @ 5129:0244bba24b43 libavcodec

misc typo fixes
author diego
date Tue, 12 Jun 2007 18:50:50 +0000
parents 33d50e0e1823
children 470601203f44
comparison
equal deleted inserted replaced
5128:d98460d07146 5129:0244bba24b43
3384 else 3384 else
3385 ret= h263_decode_gob_header(s); 3385 ret= h263_decode_gob_header(s);
3386 if(ret>=0) 3386 if(ret>=0)
3387 return 0; 3387 return 0;
3388 } 3388 }
3389 //ok, it's not where its supposed to be ... 3389 //OK, it's not where it is supposed to be ...
3390 s->gb= s->last_resync_gb; 3390 s->gb= s->last_resync_gb;
3391 align_get_bits(&s->gb); 3391 align_get_bits(&s->gb);
3392 left= s->gb.size_in_bits - get_bits_count(&s->gb); 3392 left= s->gb.size_in_bits - get_bits_count(&s->gb);
3393 3393
3394 for(;left>16+1+5+5; left-=8){ 3394 for(;left>16+1+5+5; left-=8){
4718 level = -level; 4718 level = -level;
4719 } 4719 }
4720 i += run; 4720 i += run;
4721 if (i >= 64){ 4721 if (i >= 64){
4722 if(s->alt_inter_vlc && rl == &rl_inter && !s->mb_intra){ 4722 if(s->alt_inter_vlc && rl == &rl_inter && !s->mb_intra){
4723 //looks like a hack but no, it's the way its supposed to work ... 4723 //Looks like a hack but no, it's the way it is supposed to work ...
4724 rl = &rl_intra_aic; 4724 rl = &rl_intra_aic;
4725 i = 0; 4725 i = 0;
4726 s->gb= gb; 4726 s->gb= gb;
4727 memset(block, 0, sizeof(DCTELEM)*64); 4727 memset(block, 0, sizeof(DCTELEM)*64);
4728 goto retry; 4728 goto retry;