Browse Source

remove unneeded tr == 0

Originally committed as revision 13805 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
428c82cbac
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/g726.c

+ 1
- 2
libavcodec/g726.c View File

@@ -231,8 +231,7 @@ static int16_t g726_decode(G726Context* c, int16_t I)
i2f(dq, &c->dq[0]);
c->dq[0].sign = I >> (c->tbls->bits - 1); /* Isn't it crazy ?!?! */

/* Update tone detect [I'm not sure 'tr == 0' is really needed] */
c->td = (tr == 0 && c->a[1] < -11776);
c->td = c->a[1] < -11776;

/* Update Ap */
c->dms += ((c->tbls->F[I]<<9) - c->dms) >> 5;


Loading…
Cancel
Save