1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-09 02:39:04 +02:00

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

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++)