Browse code

Simplify eval_refl(): s/b == 0/!b/

Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk

Vitor Sessak authored on 2008/08/07 06:04:40
Showing 1 changed files
... ...
@@ -246,7 +246,7 @@ static int eval_refl(int *refl, const int16_t *coefs, RA144Context *ractx)
246 246
     for (c=8; c >= 0; c--) {
247 247
         b = 0x1000-((u * u) >> 12);
248 248
 
249
-        if (b == 0)
249
+        if (!b)
250 250
             b = -2;
251 251
 
252 252
         for (u=0; u<=c; u++)