summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-08-06 21:04:40 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-08-06 21:04:40 +0000
commitaa425ada542ad8c4e9d19414492b7e39cb4ef05f (patch)
treedcbc905bf519e6c3030540fe718a7e0f558c4098 /libavcodec/ra144.c
parent40812fdcf1dc74c026c93cc5168a2b10a2b0c777 (diff)
Simplify eval_refl(): s/b == 0/!b/
Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 116b39b8da..2af76133df 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -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++)