changeset 7064:f227dcbd4755 libavcodec

remove unneeded tr == 0
author michael
date Wed, 18 Jun 2008 21:00:44 +0000
parents cd085c1c5103
children 87767de54b7b
files g726.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/g726.c	Wed Jun 18 20:54:21 2008 +0000
+++ b/g726.c	Wed Jun 18 21:00:44 2008 +0000
@@ -231,8 +231,7 @@
     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;