[FFmpeg-devel] setmode(fd, flag)

François Revol revol
Tue Dec 16 18:38:31 CET 2008

> Yes. But it is defined in BeOS (IIRC) and setmode does something
> completely different. So the code, as is, is not good.

BSD has its own setmode(), see

It's been discussed already several times here.

> It seems (from msdn [0]) that _setmode is preferred.

Then check for it in configure...
but make sure it doesn't colide with a weak symbol fallback 


More information about the ffmpeg-devel mailing list