changeset 5846:94b29c56556b libavcodec

remove some useless initializations (the whole context is initialized to 0)
author aurel
date Sun, 21 Oct 2007 22:44:05 +0000
parents 342ab05e7d05
children 82ac47c0c6dd
files adpcm.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/adpcm.c	Sun Oct 21 22:16:28 2007 +0000
+++ b/adpcm.c	Sun Oct 21 22:44:05 2007 +0000
@@ -640,11 +640,6 @@
         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;