[FFmpeg-devel] libossupport status

Luca Abeni lucabe72
Sun Dec 23 13:26:45 CET 2007


Hi Michael,


On Sat, 2007-12-22 at 23:11 +0100, Michael Niedermayer wrote:
[...]
> source in libav*:
> #include "libossupport/os_support.h"
> ..
> loss_nonstd_closesocket(socket);
> 
> libossupport/os_support.h:
> #if HAVE_CLOSESOCKET but not CLOSE
> #   define loss_nonstd_closesocket closesocket
> #else
> #   define loss_nonstd_closesocket close
> #endif

This is very similar to my first proposal, but... Wouldn't this solution
create a dependency on libossupport? I mean, if libossupport is not
there, compiling libav* becomes impossible...

If this is acceptable, everything will become much simpler.


			Thanks,
				Luca





More information about the ffmpeg-devel mailing list