diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-17 13:40:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-17 13:40:40 +0000 |
commit | cf409a6fec51733ed68d389213a7b9036f461738 (patch) | |
tree | 6e223cf44bda00fb995e52d0e854c60007b0686c /libavcodec/g726.c | |
parent | 44555f098c56543b301101306b101e084cd3f14a (diff) | |
download | ffmpeg-cf409a6fec51733ed68d389213a7b9036f461738.tar.gz |
Get rid of useless wrapper function.
Originally committed as revision 13796 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 20edeea2bd..fd33d8c5dd 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -183,7 +183,7 @@ static inline int16_t inverse_quant(G726Context* c, int i) 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 @@ static av_cold int g726_reset(G726Context* c, int index) 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 |