[FFmpeg-devel] [PATCH] replace setmode() by fcntl()
Thu Mar 27 16:26:17 CET 2008
I've talked about it long ago but never bothered to send a patch.
setmode() is not portable. There is a BSD setmode() that differs from
the MSDOS version that is used there. Since O_BINARY can be defined
ouside of MSDOS, this breaks those platforms.
fcntl(F_SETFL) should replace it in a more portable way.
However I'm not sure it's available on mingw or other supported
platforms, please test.
Else we'd have to check in configure.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
More information about the ffmpeg-devel