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:
parent
4a0d4a02a6
commit
1e56c7b862
2
src/decoder/vorbis_plugin.c
Normal file → Executable file
2
src/decoder/vorbis_plugin.c
Normal file → Executable 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user