comparison snow.c @ 9540:479e4d868038 libavcodec

Remove 2 useless FFMIN().
author michael
date Wed, 22 Apr 2009 22:05:34 +0000
parents 8178935a95d0
children 54ddf2b7d4bd
comparison
equal deleted inserted replaced
9539:8178935a95d0 9540:479e4d868038
633 put_rac(c, state+11 + e, v < 0); //11..21 633 put_rac(c, state+11 + e, v < 0); //11..21
634 }else{ 634 }else{
635 for(i=0; i<e; i++){ 635 for(i=0; i<e; i++){
636 put_rac(c, state+1+FFMIN(i,9), 1); //1..10 636 put_rac(c, state+1+FFMIN(i,9), 1); //1..10
637 } 637 }
638 put_rac(c, state+1+FFMIN(i,9), 0); 638 put_rac(c, state+1+9, 0);
639 639
640 for(i=e-1; i>=0; i--){ 640 for(i=e-1; i>=0; i--){
641 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31 641 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
642 } 642 }
643 643
644 if(is_signed) 644 if(is_signed)
645 put_rac(c, state+11 + FFMIN(e,10), v < 0); //11..21 645 put_rac(c, state+11 + 10, v < 0); //11..21
646 } 646 }
647 #endif /* 1 */ 647 #endif /* 1 */
648 }else{ 648 }else{
649 put_rac(c, state+0, 1); 649 put_rac(c, state+0, 1);
650 } 650 }