Commit 19a4139d authored by michael's avatar michael

Remove 2 useless FFMIN().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18664 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bf3cf246
...@@ -635,14 +635,14 @@ static inline void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_signe ...@@ -635,14 +635,14 @@ static inline void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_signe
for(i=0; i<e; i++){ for(i=0; i<e; i++){
put_rac(c, state+1+FFMIN(i,9), 1); //1..10 put_rac(c, state+1+FFMIN(i,9), 1); //1..10
} }
put_rac(c, state+1+FFMIN(i,9), 0); put_rac(c, state+1+9, 0);
for(i=e-1; i>=0; i--){ for(i=e-1; i>=0; i--){
put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
} }
if(is_signed) if(is_signed)
put_rac(c, state+11 + FFMIN(e,10), v < 0); //11..21 put_rac(c, state+11 + 10, v < 0); //11..21
} }
#endif /* 1 */ #endif /* 1 */
}else{ }else{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment