Cosmetical simplification in t_sqrt()
authorVitor Sessak <vitor1001@gmail.com>
Wed, 6 Aug 2008 05:08:48 +0000 (05:08 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Wed, 6 Aug 2008 05:08:48 +0000 (05:08 +0000)
Originally committed as revision 14638 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ra144.c

index 649dfac..dab7b1f 100644 (file)
@@ -71,7 +71,7 @@ static int t_sqrt(unsigned int x)
     int s = 2;
     while (x > 0xfff) {
         s++;
-        x = x >> 2;
+        x >>= 2;
     }
 
     return ff_sqrt(x << 20) << s;