[FFmpeg-devel] [PATCH] Fix pipes on OS/2

François Revol revol
Sun Jul 6 18:14:12 CEST 2008

> > Unluckily setmode() is used on most all DOSish compilers including 
> > all 4  
> > versions of GCC that FFmpeg supports. Since it is always declared 
> > in  
> > io.h perhaps this solution is best. This should also fix BEOS since 
> > it  

This seems ok to me.

> > has O_BINARY and the BSD setmode().

O_BINARY yes, but no setmode at all IIRC

Anyone knows a system which has O_BINARY but not the DOS setmode() that 
would need applying it with fcntl() ?


More information about the ffmpeg-devel mailing list