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:
428c82c
)
useless ()
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Jun 2008 21:05:07 +0000
(21:05 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Jun 2008 21:05:07 +0000
(21:05 +0000)
Originally committed as revision 13806 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/g726.c
patch
|
blob
|
history
diff --git
a/libavcodec/g726.c
b/libavcodec/g726.c
index
45848dc
..
aeb2360
100644
(file)
--- a/
libavcodec/g726.c
+++ b/
libavcodec/g726.c
@@
-238,7
+238,7
@@
static int16_t g726_decode(G726Context* c, int16_t I)
c->dml += ((c->tbls->F[I]<<11) - c->dml) >> 7;
if (tr)
c->ap = 256;
- else if (c->y > 1535 && !c->td &&
(abs((c->dms << 2) - c->dml) < (c->dml >> 3)
))
+ else if (c->y > 1535 && !c->td &&
abs((c->dms << 2) - c->dml) < (c->dml >> 3
))
c->ap += (-c->ap) >> 4;
else
c->ap += (0x200 - c->ap) >> 4;