[Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Ramiro Polla angustia
Sun Jan 21 20:28:21 CET 2007


Hello,

Guillaume POIRIER wrote:
> Hi Ramiro,
>
> On 1/21/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>> On Sat, Jan 20, 2007 at 06:38:03PM -0200, Ramiro Polla wrote:
>> > Hello,
>> >
>> > M?ns Rullg?rd wrote:
>> > >ramiro at lisha.ufsc.br writes:
>> > >
>> > >
>> > >>Hello,
>> > >>
>> > >>While trying to enable networking on MinGW, now that Fran?ois has 
>> commited
>> > >>his BeOS changes, I saw that ugly #ifdef around read/recv 
>> write/send.
>> > >>Those same functions apply for Winsock, so I thought that, since the
>> > >>closesocket change has already been made, we could make 
>> readsocket and
>> > >>writesocket, as this patch proposes.
>> > >>
>> > >
>> > >Rejected.  Just use recv/send everywhere.
>> > >
>> > >
>> >
>> > Right... It makes more sense. *Untested* patch attached.
>>
>> looks ok
>
> Ramiro please test your patch to at least make sure it works on your 
> side.
>
> Once you checked it works, then please report and give a test case so
> that I can also test it before committing it.
>
> Guillaume
Sorry, I was in a hurry. It worked for me now (on linux).

./ffplay http://arrozcru.no-ip.org/ffmpeg_patches/test.mpg

Ramiro Polla




More information about the ffmpeg-devel mailing list