Revision f3ec2d46 libavformat/file.c

View differences:

libavformat/file.c
42 42
    } else {
43 43
        access = O_RDONLY;
44 44
    }
45
#ifdef CONFIG_WIN32
45
#if defined(CONFIG_WIN32) || defined(CONFIG_OS2)
46 46
    access |= O_BINARY;
47 47
#endif
48 48
    fd = open(filename, access, 0666);

Also available in: Unified diff