changeset 9540:479e4d868038 libavcodec

Remove 2 useless FFMIN().
author michael
date Wed, 22 Apr 2009 22:05:34 +0000
parents 8178935a95d0
children 7afd4f44c450
files snow.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Wed Apr 22 21:44:41 2009 +0000
+++ b/snow.c	Wed Apr 22 22:05:34 2009 +0000
@@ -635,14 +635,14 @@
             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{