summaryrefslogtreecommitdiff
path: root/libavcodec/g726.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-18 21:05:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-18 21:05:07 +0000
commit673a64b89b6fd715bb74c61d9d5e773a3dfef702 (patch)
tree3e932616b9919987e8fdf030a916de621aa39e7e /libavcodec/g726.c
parent428c82cbacb2f6c70378a89f2058c68802090eab (diff)
downloadffmpeg-673a64b89b6fd715bb74c61d9d5e773a3dfef702.tar.gz
useless ()
Originally committed as revision 13806 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r--libavcodec/g726.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 45848dceaf..aeb2360d8c 100644
--- 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;