aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-06-16 23:53:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-06-16 23:53:34 +0000
commit81120754154a264bea50e25d5549a84dd53d689c (patch)
treedb4927745daaa802f4936180c141c8bdb83bff34 /libavcodec
parente3cafac6383e5231d4428a35e9a922bd6e235d4d (diff)
downloadffmpeg-81120754154a264bea50e25d5549a84dd53d689c.tar.gz
Remove redundant zeroing (the context is memset(0)).
Originally committed as revision 13791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/g726.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index a225e892e3..35f277fd1c 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -273,22 +273,14 @@ static av_cold int g726_reset(G726Context* c, int index)
c->tbls = &G726Tables_pool[index];
for (i=0; i<2; i++) {
i2f(0, &c->sr[i]);
- c->a[i] = 0;
c->pk[i] = 1;
}
for (i=0; i<6; i++) {
i2f(0, &c->dq[i]);
- c->b[i] = 0;
}
- c->ap = 0;
- c->dms = 0;
- c->dml = 0;
c->yu = 544;
c->yl = 34816;
- c->td = 0;
- c->se = 0;
- c->sez = 0;
c->y = 544;
return 0;