[FFmpeg-cvslog] r10831 - trunk/libavcodec/adpcm.c
aurel
subversion
Mon Oct 22 00:44:05 CEST 2007
Author: aurel
Date: Mon Oct 22 00:44:05 2007
New Revision: 10831
Log:
remove some useless initializations (the whole context is initialized to 0)
Modified:
trunk/libavcodec/adpcm.c
Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c (original)
+++ trunk/libavcodec/adpcm.c Mon Oct 22 00:44:05 2007
@@ -640,11 +640,6 @@ static int adpcm_decode_init(AVCodecCont
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;
More information about the ffmpeg-cvslog
mailing list