Browse Source

remove some useless initializations (the whole context is initialized to 0)

Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
a70a3f0b4d
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavcodec/adpcm.c

+ 0
- 5
libavcodec/adpcm.c View File

@@ -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;


Loading…
Cancel
Save