Changeset 440


Ignore:
Timestamp:
03/30/09 01:01:15 (16 years ago)
Author:
r2d
Message:

mpcgain bug correction : open files in binary mode (changed version accordingly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcgain/mpcgain.c

    r428 r440  
    4444#define MPCGAIN_MAJOR 0
    4545#define MPCGAIN_MINOR 9
    46 #define MPCGAIN_BUILD 1
     46#define MPCGAIN_BUILD 2
    4747
    4848#define _cat(a,b,c) #a"."#b"."#c
     
    108108
    109109
    110         file = fopen( file_name, "r+");
     110        file = fopen( file_name, "r+b");
    111111        if (file == 0) {
    112112                fprintf(stderr, "Can't open file \"%s\" for writing\n", file_name);
     
    255255                FILE * file;
    256256
    257                 file = fopen( argv[j + 1], "r+");
     257                file = fopen( argv[j + 1], "r+b");
    258258                if (file == 0) {
    259259                        fprintf(stderr, "Can't open file \"%s\" for writing\n", argv[j + 1]);
Note: See TracChangeset for help on using the changeset viewer.