diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-04-23 02:05:34 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-04-23 02:05:34 +0400 |
commit | e1b3d272729000b05bb6880a2ec904e61527ae37 (patch) | |
tree | 9ae8b63cc1eb3b8d8d7f43fc3cd08245e69e6337 | |
parent | 7bdf2eb8c4f1f210656c72cd87e86d6d95604b57 (diff) |
Remove 2 useless FFMIN().
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/snow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 4bfdf42b82..5d9577bc03 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -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++){ 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--){ put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31 } 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 */ }else{ |