tag_{id3,ape}: explicitly open files in binary mode
Add the flag "b" to fopen(). Windows compatibility.
This commit is contained in:
@@ -78,7 +78,7 @@ tag_ape_load(const char *file)
|
||||
unsigned char reserved[8];
|
||||
} footer;
|
||||
|
||||
fp = fopen(file, "r");
|
||||
fp = fopen(file, "rb");
|
||||
if (!fp)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user