[FFmpeg-cvslog] r14651 - trunk/libavcodec/ra144.c
vitor
subversion
Wed Aug 6 23:04:40 CEST 2008
Author: vitor
Date: Wed Aug 6 23:04:40 2008
New Revision: 14651
Log:
Simplify eval_refl(): s/b == 0/!b/
Modified:
trunk/libavcodec/ra144.c
Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c (original)
+++ trunk/libavcodec/ra144.c Wed Aug 6 23:04:40 2008
@@ -246,7 +246,7 @@ static int eval_refl(int *refl, const in
for (c=8; c >= 0; c--) {
b = 0x1000-((u * u) >> 12);
- if (b == 0)
+ if (!b)
b = -2;
for (u=0; u<=c; u++)
More information about the ffmpeg-cvslog
mailing list