diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-08-06 21:04:40 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-08-06 21:04:40 +0000 |
commit | aa425ada542ad8c4e9d19414492b7e39cb4ef05f (patch) | |
tree | dcbc905bf519e6c3030540fe718a7e0f558c4098 /libavcodec/ra144.c | |
parent | 40812fdcf1dc74c026c93cc5168a2b10a2b0c777 (diff) | |
download | ffmpeg-aa425ada542ad8c4e9d19414492b7e39cb4ef05f.tar.gz |
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.c | 2 |
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++) |