Mercurial > libavcodec.hg
changeset 7055:d634343b7917 libavcodec
Replace i2f(0) by the actual thing done, gcc is not an optimizing compiler.
a little over 1kb smaller .o
author | michael |
---|---|
date | Mon, 16 Jun 2008 23:57:12 +0000 |
parents | 2fabac9dedea |
children | 0c65c19e5aaa |
files | g726.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/g726.c Mon Jun 16 23:53:34 2008 +0000 +++ b/g726.c Mon Jun 16 23:57:12 2008 +0000 @@ -272,11 +272,11 @@ 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;