summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 09:01:43 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 09:01:43 +0200
commit1bd73b6ad1da401e71fe784c173f374930979829 (patch)
tree73447b57441d0c7507fee93d34588bcc7340d448
parentbb8aa9931fff94a2afa8bb14e63196b2089192dd (diff)
downloadODR-AudioEnc-1bd73b6ad1da401e71fe784c173f374930979829.tar.gz
ODR-AudioEnc-1bd73b6ad1da401e71fe784c173f374930979829.tar.bz2
ODR-AudioEnc-1bd73b6ad1da401e71fe784c173f374930979829.zip
Fix uninitialised m_wav in FileInput
-rw-r--r--src/FileInput.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FileInput.h b/src/FileInput.h
index 68193bc..57cc5a0 100644
--- a/src/FileInput.h
+++ b/src/FileInput.h
@@ -30,7 +30,8 @@ class FileInput
int sample_rate) :
m_filename(filename),
m_raw_input(raw_input),
- m_sample_rate(sample_rate) { }
+ m_sample_rate(sample_rate),
+ m_wav(nullptr) { }
~FileInput();