[Ffmpeg-devel] networking in libavformat under windows
Timofei V. Bondarenko
Mon May 16 14:25:47 CEST 2005
M?ns Rullg?rd wrote:
> "Timofei V. Bondarenko" <timm at ipi.ac.ru> writes:
>>M?ns Rullg?rd wrote:
>>>We're trying to use libavformat to receive a video stream over UDP in
>>>windows. The obvious problem is that networking is disabled under
>>>mingw. Why is this so? Doesn't mingw support networking? Assuming
>>Is there any chance you have omitted WSAStartup() or other windows' stuff?
> I'm talking about this bit in the configure script:
> if test "$mingw32" = "yes" ; then
> prefix="/c/Program Files/FFmpeg"
> Are you saying networking does work under mingw, and that configure is
> incorrect in disabling it?
Under mingw we have the windows' networking aka winsock that's not 1:1
compatible to the BSD sockets. We should include 'winsock.h' rather than
'socket.h'; we have to call WSAStartup() first; a bit different socket
options, datatypes, etc...
May be that's reason to have networking disabled and don't bother with
More information about the ffmpeg-devel