mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-26 05:08:04 +00:00
Remove redundant zeroing (the context is memset(0)).
Originally committed as revision 13791 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e3cafac638
commit
8112075415
@ -273,22 +273,14 @@ 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]);
|
i2f(0, &c->sr[i]);
|
||||||
c->a[i] = 0;
|
|
||||||
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]);
|
i2f(0, &c->dq[i]);
|
||||||
c->b[i] = 0;
|
|
||||||
}
|
}
|
||||||
c->ap = 0;
|
|
||||||
c->dms = 0;
|
|
||||||
c->dml = 0;
|
|
||||||
c->yu = 544;
|
c->yu = 544;
|
||||||
c->yl = 34816;
|
c->yl = 34816;
|
||||||
c->td = 0;
|
|
||||||
|
|
||||||
c->se = 0;
|
|
||||||
c->sez = 0;
|
|
||||||
c->y = 544;
|
c->y = 544;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user