remove unneeded tr == 0
Originally committed as revision 13805 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e079a1c94f
commit
428c82cbac
@ -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…
x
Reference in New Issue
Block a user