[FFmpeg-devel] defining O_BINARY for OS/2

Dave Yeo daveryeo
Sun Jul 29 08:19:36 CEST 2007


Hi, I noticed at about line 99 in libavformat/file.c this code block
#ifdef O_BINARY
    setmode(fd, O_BINARY);
#endif
but I can not find where it gets defined. For OS/2 should I be defining
it myself? How does Windows define it? or does Windows still need it?
Perhaps it should just always be defined? Seems to me that on *nixes it
doesn't make any difference whether they use binary or not..
Dave





More information about the ffmpeg-devel mailing list