comparison g726.c @ 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
comparison
equal deleted inserted replaced
7054:2fabac9dedea 7055:d634343b7917
270 { 270 {
271 int i; 271 int i;
272 272
273 c->tbls = &G726Tables_pool[index]; 273 c->tbls = &G726Tables_pool[index];
274 for (i=0; i<2; i++) { 274 for (i=0; i<2; i++) {
275 i2f(0, &c->sr[i]); 275 c->sr[i].mant = 1<<5;
276 c->pk[i] = 1; 276 c->pk[i] = 1;
277 } 277 }
278 for (i=0; i<6; i++) { 278 for (i=0; i<6; i++) {
279 i2f(0, &c->dq[i]); 279 c->dq[i].mant = 1<<5;
280 } 280 }
281 c->yu = 544; 281 c->yu = 544;
282 c->yl = 34816; 282 c->yl = 34816;
283 283
284 c->y = 544; 284 c->y = 544;