[FFmpeg-devel] [PATCH] O_BINARY for ffserver

ods15 at ods15.dyndns.org ods15
Fri Jul 13 11:28:39 CEST 2007


On Fri, Jul 13, 2007 at 11:22:26AM +0200, Alex Beregszaszi wrote:
> Hi,
> 
> albeit I dislike this way, it looks like this is now the preferred one
> ffmpeg.
> 
> Attached patch applies O_BINARY flags in ffserver.

Wouldn't this be a less ifdef-spam solution?

#ifndef O_BINARY
#define O_BINARY 0
#endif

...

access = O_RDWR | O_BINARY;

...

access = O_RDONLY | O_BINARY;

- ods15




More information about the ffmpeg-devel mailing list