aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/vorbis_plugin.c
diff options
context:
space:
mode:
authorGunnar Roth <gunnar.roth@gmx.de>2009-08-25 00:49:48 +0200
committerMax Kellermann <max@duempel.org>2009-08-25 00:49:48 +0200
commit1e56c7b8629f5c11eee0680e4584030cac939ce8 (patch)
treecbb74b9dbf7d38494eae726c238cff5eb5974518 /src/decoder/vorbis_plugin.c
parent4a0d4a02a64774c61840496c8141b89ed31d1d94 (diff)
downloadmpd-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
Diffstat (limited to 'src/decoder/vorbis_plugin.c')
-rwxr-xr-x[-rw-r--r--]src/decoder/vorbis_plugin.c2
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;
}