projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba8a76b
)
remove some useless initializations (the whole context is initialized to 0)
author
Aurelien Jacobs
<aurel@gnuage.org>
Sun, 21 Oct 2007 22:44:05 +0000
(22:44 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Sun, 21 Oct 2007 22:44:05 +0000
(22:44 +0000)
Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/adpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/adpcm.c
b/libavcodec/adpcm.c
index b5420a8d2abb0e663acdd7868db1afb303cac6c5..4b734bd5f66c6e6301f67697abb30c9b6e071cc5 100644
(file)
--- 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;