author | llornkcor <llornkcor> | 2002-02-15 02:40:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-02-15 02:40:16 (UTC) |
commit | b429144b79049fcc25dfff5a9a38415451399e58 (patch) (unidiff) | |
tree | e6a6bf929667e3c5a521145809b2615bb4b0c6e9 | |
parent | e5ac946b3ced52f4aba73dfc64398bb3d8245734 (diff) | |
download | opie-b429144b79049fcc25dfff5a9a38415451399e58.zip opie-b429144b79049fcc25dfff5a9a38415451399e58.tar.gz opie-b429144b79049fcc25dfff5a9a38415451399e58.tar.bz2 |
forgot length in header
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 25ee476..bba55a3 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -307,6 +307,7 @@ int VMemo::openWAV(const char *filename) | |||
307 | WaveHeader wh; | 307 | WaveHeader wh; |
308 | 308 | ||
309 | wh.main_chunk = RIFF;// RIFF | 309 | wh.main_chunk = RIFF;// RIFF |
310 | wh.length=0; /* filelen */ | ||
310 | wh.chunk_type = WAVE;//WAVE | 311 | wh.chunk_type = WAVE;//WAVE |
311 | wh.sub_chunk = FMT;// fmt | 312 | wh.sub_chunk = FMT;// fmt |
312 | wh.sc_len = 16;// format length = 16 | 313 | wh.sc_len = 16;// format length = 16 |