Mercurial > libavcodec.hg
comparison g726.c @ 7054:2fabac9dedea libavcodec
Remove redundant zeroing (the context is memset(0)).
author | michael |
---|---|
date | Mon, 16 Jun 2008 23:53:34 +0000 |
parents | e3ee81021cf1 |
children | d634343b7917 |
comparison
equal
deleted
inserted
replaced
7053:e3ee81021cf1 | 7054:2fabac9dedea |
---|---|
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 i2f(0, &c->sr[i]); |
276 c->a[i] = 0; | |
277 c->pk[i] = 1; | 276 c->pk[i] = 1; |
278 } | 277 } |
279 for (i=0; i<6; i++) { | 278 for (i=0; i<6; i++) { |
280 i2f(0, &c->dq[i]); | 279 i2f(0, &c->dq[i]); |
281 c->b[i] = 0; | 280 } |
282 } | |
283 c->ap = 0; | |
284 c->dms = 0; | |
285 c->dml = 0; | |
286 c->yu = 544; | 281 c->yu = 544; |
287 c->yl = 34816; | 282 c->yl = 34816; |
288 c->td = 0; | 283 |
289 | |
290 c->se = 0; | |
291 c->sez = 0; | |
292 c->y = 544; | 284 c->y = 544; |
293 | 285 |
294 return 0; | 286 return 0; |
295 } | 287 } |
296 | 288 |