summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-04-22 09:31:57 (UTC)
committer llornkcor <llornkcor>2004-04-22 09:31:57 (UTC)
commit0cfc21f93c66731a51f0982c0a6d357ab9c9a86b (patch) (unidiff)
tree5106cfa5bce47cdb29800f7921b6d0621fe52800
parent731e459a8621fb359ca39ccf4d11bffcc024dcfa (diff)
downloadopie-0cfc21f93c66731a51f0982c0a6d357ab9c9a86b.zip
opie-0cfc21f93c66731a51f0982c0a6d357ab9c9a86b.tar.gz
opie-0cfc21f93c66731a51f0982c0a6d357ab9c9a86b.tar.bz2
initialize
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/adpcm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/applets/vmemo/adpcm.c b/core/applets/vmemo/adpcm.c
index c4dfa50..a123249 100644
--- a/core/applets/vmemo/adpcm.c
+++ b/core/applets/vmemo/adpcm.c
@@ -86,8 +86,8 @@ adpcm_coder(indata, outdata, len, state)
86 int valpred; /* Predicted output value */ 86 int valpred; /* Predicted output value */
87 int vpdiff; /* Current change to valpred */ 87 int vpdiff; /* Current change to valpred */
88 int index; /* Current step change index */ 88 int index; /* Current step change index */
89 int outputbuffer; /* place to keep previous 4-bit value */ 89 int outputbuffer = 0; /* place to keep previous 4-bit value */
90 int bufferstep; /* toggle between outputbuffer/output */ 90 int bufferstep = 0; /* toggle between outputbuffer/output */
91 91
92 outp = (signed char *)outdata; 92 outp = (signed char *)outdata;
93 inp = indata; 93 inp = indata;
@@ -187,8 +187,8 @@ adpcm_decoder(indata, outdata, len, state)
187 int valpred; /* Predicted value */ 187 int valpred; /* Predicted value */
188 int vpdiff; /* Current change to valpred */ 188 int vpdiff; /* Current change to valpred */
189 int index; /* Current step change index */ 189 int index; /* Current step change index */
190 int inputbuffer; /* place to keep next 4-bit value */ 190 int inputbuffer = 0; /* place to keep next 4-bit value */
191 int bufferstep; /* toggle between inputbuffer/input */ 191 int bufferstep = 0; /* toggle between inputbuffer/input */
192 192
193 outp = outdata; 193 outp = outdata;
194 inp = (signed char *)indata; 194 inp = (signed char *)indata;