1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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--) { for (c=8; c >= 0; c--) {
b = 0x1000-((u * u) >> 12); b = 0x1000-((u * u) >> 12);
if (b == 0) if (!b)
b = -2; b = -2;
for (u=0; u<=c; u++) for (u=0; u<=c; u++)