changeset 7057:2de55b561147 libavcodec

Get rid of useless wrapper function.
author michael
date Tue, 17 Jun 2008 13:40:40 +0000
parents 0c65c19e5aaa
children 819e52ba3125
files g726.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/g726.c	Tue Jun 17 00:09:42 2008 +0000
+++ b/g726.c	Tue Jun 17 13:40:40 2008 +0000
@@ -183,7 +183,7 @@
     return (dql < 0) ? 0 : ((dqt<<7) >> (14-dex));
 }
 
-static int16_t g726_iterate(G726Context* c, int16_t I)
+static int16_t g726_decode(G726Context* c, int16_t I)
 {
     int dq, re_signal, pk0, fa1, i, tr, ylint, ylfrac, thr2, al, dq0;
     Float11 f;
@@ -286,18 +286,13 @@
     return 0;
 }
 
-static int16_t g726_decode(G726Context* c, int16_t i)
-{
-    return g726_iterate(c, i);
-}
-
 #ifdef CONFIG_ENCODERS
 static int16_t g726_encode(G726Context* c, int16_t sig)
 {
     uint8_t i;
 
     i = quant(c, sig/4 - c->se) & ((1<<c->tbls->bits) - 1);
-    g726_iterate(c, i);
+    g726_decode(c, i);
     return i;
 }
 #endif