[FFmpeg-devel] [PATCH] Binary file access on Windows

Ramiro Ribeiro Polla ramiro
Sat Jun 23 00:15:26 CEST 2007


 wrote:
> Ramiro Ribeiro Polla <ramiro at lisha.ufsc.br> writes:
>
>   
>> Hello,
>>
>> Attached patch checks for features, and not systems, on the code. It's
>> now left up to configure.
>>     
>
>   
>> -#if defined(__MINGW32__) || defined(CONFIG_OS2) || defined(__CYGWIN__)
>> +#ifdef CONFIG_BINARY_FILE
>>      access |= O_BINARY;
>>  #endif
>>     
>
> #ifdef O_BINARY ?
>   

Patch attached.
Are there any systems that define O_BINARY but don't require it?

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binary_file.diff
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070622/db3d952d/attachment.bin>



More information about the ffmpeg-devel mailing list