diff options
author | Gunnar Roth <gunnar.roth@gmx.de> | 2009-08-25 00:49:48 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-08-25 00:49:48 +0200 |
commit | 1e56c7b8629f5c11eee0680e4584030cac939ce8 (patch) | |
tree | cbb74b9dbf7d38494eae726c238cff5eb5974518 | |
parent | 4a0d4a02a64774c61840496c8141b89ed31d1d94 (diff) | |
download | mpd-1e56c7b8629f5c11eee0680e4584030cac939ce8.tar.gz mpd-1e56c7b8629f5c11eee0680e4584030cac939ce8.tar.xz mpd-1e56c7b8629f5c11eee0680e4584030cac939ce8.zip |
decoder/vorbis: open file in "binary" mode
fopen change for win32 in tag dup of vorbis
win32 adaption for head changes
-rwxr-xr-x[-rw-r--r--] | src/decoder/vorbis_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c index bab1d57ec..39a075176 100644..100755 --- a/src/decoder/vorbis_plugin.c +++ b/src/decoder/vorbis_plugin.c @@ -377,7 +377,7 @@ vorbis_tag_dup(const char *file) FILE *fp; OggVorbis_File vf; - fp = fopen(file, "r"); + fp = fopen(file, "rb"); if (!fp) { return NULL; } |