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
1 changed files with 1 additions and 1 deletions

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

@ -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;
}