Commit aeaa7c3d authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 81120754
...@@ -272,11 +272,11 @@ static av_cold int g726_reset(G726Context* c, int index) ...@@ -272,11 +272,11 @@ static av_cold int g726_reset(G726Context* c, int index)
c->tbls = &G726Tables_pool[index]; c->tbls = &G726Tables_pool[index];
for (i=0; i<2; i++) { for (i=0; i<2; i++) {
i2f(0, &c->sr[i]); c->sr[i].mant = 1<<5;
c->pk[i] = 1; c->pk[i] = 1;
} }
for (i=0; i<6; i++) { for (i=0; i<6; i++) {
i2f(0, &c->dq[i]); c->dq[i].mant = 1<<5;
} }
c->yu = 544; c->yu = 544;
c->yl = 34816; c->yl = 34816;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment