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:
parent
40812fdcf1
commit
aa425ada54
@ -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++)
|
||||||
|
Loading…
Reference in New Issue
Block a user