[FFmpeg-devel] [PATCH] O_BINARY for ffserver
Ramiro Ribeiro Polla
Fri Jul 13 18:33:59 CEST 2007
>> albeit I dislike this way, it looks like this is now the preferred
> The existing way is not acceptable anyway.
> It breaks the build on BeOS. BeOS defines O_BINARY for compatibility
> but doesn't have setmode(), btw setmode() is DOS-only, and BSD has its
> own setmode() for something totally different, so this is highly
> dangerous to use.
Can't fcntl be used instead? Anyways I wasn't aware setmode() was
DOS-only. It should be checked in cofigure.
More information about the ffmpeg-devel