summaryrefslogtreecommitdiff
path: root/libavcodec/g726.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-16 23:57:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-16 23:57:12 +0000
commitaeaa7c3d00ee71cad77254af1db93a7818e00138 (patch)
tree683f8c4698e513a6cc7da63f0ec0f428d709e05b /libavcodec/g726.c
parent81120754154a264bea50e25d5549a84dd53d689c (diff)
Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler.
a little over 1kb smaller .o Originally committed as revision 13792 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r--libavcodec/g726.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 35f277fd1c..96b19cab72 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -272,11 +272,11 @@ static av_cold int g726_reset(G726Context* c, int index)
c->tbls = &G726Tables_pool[index];
for (i=0; i<2; i++) {
- i2f(0, &c->sr[i]);
+ c->sr[i].mant = 1<<5;
c->pk[i] = 1;
}
for (i=0; i<6; i++) {
- i2f(0, &c->dq[i]);
+ c->dq[i].mant = 1<<5;
}
c->yu = 544;
c->yl = 34816;