[FFmpeg-devel] [PATCH] O_BINARY for ffserver
Ramiro Ribeiro Polla
ramiro
Fri Jul 13 18:33:59 CEST 2007
wrote:
>> Hi,
>>
>> albeit I dislike this way, it looks like this is now the preferred
>> one
>> ffmpeg.
>>
>
> 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.
Ramiro Polla
More information about the ffmpeg-devel
mailing list