projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40812fd
)
Simplify eval_refl(): s/b == 0/!b/
author
Vitor Sessak
<vitor1001@gmail.com>
Wed, 6 Aug 2008 21:04:40 +0000
(21:04 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Wed, 6 Aug 2008 21:04:40 +0000
(21:04 +0000)
Originally committed as revision 14651 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
116b39b
..
2af7613
100644
(file)
--- 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++)