From 1e56c7b8629f5c11eee0680e4584030cac939ce8 Mon Sep 17 00:00:00 2001 From: Gunnar Roth Date: Tue, 25 Aug 2009 00:49:48 +0200 Subject: [PATCH] decoder/vorbis: open file in "binary" mode fopen change for win32 in tag dup of vorbis win32 adaption for head changes --- src/decoder/vorbis_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/decoder/vorbis_plugin.c diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c old mode 100644 new mode 100755 index bab1d57ec..39a075176 --- 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; }