summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp1
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)
WaveHeader wh;
wh.main_chunk = RIFF;// RIFF
+ wh.length=0; /* filelen */
wh.chunk_type = WAVE;//WAVE
wh.sub_chunk = FMT;// fmt
wh.sc_len = 16;// format length = 16