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

Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-08-06 21:04:40 +00:00
parent 40812fdcf1
commit aa425ada54
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ static int eval_refl(int *refl, const int16_t *coefs, RA144Context *ractx)
for (c=8; c >= 0; c--) {
b = 0x1000-((u * u) >> 12);
if (b == 0)
if (!b)
b = -2;
for (u=0; u<=c; u++)