[FFmpeg-cvslog] r18664 - trunk/libavcodec/snow.c

michael subversion
Thu Apr 23 00:05:34 CEST 2009


Author: michael
Date: Thu Apr 23 00:05:34 2009
New Revision: 18664

Log:
Remove 2 useless FFMIN().

Modified:
   trunk/libavcodec/snow.c

Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	Wed Apr 22 23:44:41 2009	(r18663)
+++ trunk/libavcodec/snow.c	Thu Apr 23 00:05:34 2009	(r18664)
@@ -635,14 +635,14 @@ static inline void put_symbol(RangeCoder
             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{



More information about the ffmpeg-cvslog mailing list