ref: 6d509c339a2c980cb31e57187d046166bc8d515d
parent: ac4a6b8f65151cbbfa9a98ef6b24cd373802dee8
author: Paul Brossier <piem@piem.org>
date: Fri Jan 3 16:44:37 EST 2014
src/io/source_wavread.c: open file in binary mode for windows
--- a/src/io/source_wavread.c
+++ b/src/io/source_wavread.c
@@ -87,7 +87,7 @@
s->samplerate = samplerate;
s->hop_size = hop_size;
- s->fid = fopen((const char *)path, "r");
+ s->fid = fopen((const char *)path, "rb");
if (!s->fid) {
AUBIO_ERR("source_wavread: could not open %s (%s)\n", s->path, strerror(errno));
goto beach;