decoder/vorbis: open file in "binary" mode

fopen change for win32 in tag dup of vorbis
win32 adaption for head changes
This commit is contained in:
Gunnar Roth 2009-08-25 00:49:48 +02:00 committed by Max Kellermann
parent 4a0d4a02a6
commit 1e56c7b862

2
src/decoder/vorbis_plugin.c Normal file → Executable file
View File

@ -377,7 +377,7 @@ vorbis_tag_dup(const char *file)
FILE *fp; FILE *fp;
OggVorbis_File vf; OggVorbis_File vf;
fp = fopen(file, "r"); fp = fopen(file, "rb");
if (!fp) { if (!fp) {
return NULL; return NULL;
} }