diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 13:09:26 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 13:09:26 +0100 |
commit | eddcef9d4b81041e883626044d9dae81f8d8d9d9 (patch) | |
tree | a040a86672f060b0ee7b0b476a30426bdc4ccb8a /src/audiofile.cc | |
parent | 0a2b49267f9002c7289e60654203e9b108c06f73 (diff) |
Fix two valgrind errors and mark three others with a TODO comment.
Diffstat (limited to 'src/audiofile.cc')
-rw-r--r-- | src/audiofile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc index b0ad4da..f5d55b0 100644 --- a/src/audiofile.cc +++ b/src/audiofile.cc @@ -85,7 +85,7 @@ void AudioFile::load(int num_samples) return; } - SF_INFO sf_info; + SF_INFO sf_info{}; SNDFILE *fh = sf_open(filename.c_str(), SFM_READ, &sf_info); if(!fh) { |