summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-21 22:44:05 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-21 22:44:05 +0000
commita70a3f0b4dc488ad04f81c16479c74f57b17e06f (patch)
tree6cfebc4ba916334fd62d10b1c0a57558713ccb67 /libavcodec/adpcm.c
parentba8a76b8f8cdeb8f1b889ae87a02cd7738b364e0 (diff)
downloadffmpeg-a70a3f0b4dc488ad04f81c16479c74f57b17e06f.tar.gz
remove some useless initializations (the whole context is initialized to 0)
Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index b5420a8d2a..4b734bd5f6 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -640,11 +640,6 @@ static int adpcm_decode_init(AVCodecContext * avctx)
return -1;
}
- c->channel = 0;
- c->status[0].predictor = c->status[1].predictor = 0;
- c->status[0].step_index = c->status[1].step_index = 0;
- c->status[0].step = c->status[1].step = 0;
-
switch(avctx->codec->id) {
case CODEC_ID_ADPCM_CT:
c->status[0].step = c->status[1].step = 511;