[FFmpeg-devel] libossupport status
Thu Dec 27 20:44:39 CET 2007
On 12/22/07 03:20 am, Luca Abeni wrote:
> Hi all,
> int the last weeks, I've been silent about libossupport, but I continued
> to work on it. Here is a report about the current status of things.
> Based on the requirements listed above, I developed the attached
> patch... It builds ok on Linux x86 (32), and passes some tests. I also
> checked the compilation log, and no new warnings are introduced.
> Obviously, the patch breaks the compilation on almost all the non-Linux
> platforms. On such platforms, libossupport is needed. I developed the
> attached prototype by copying some code from libavformat, and it allows
> to cross-compile mingw binaries from Linux (I suppose native mingw
> builds are ok too, but I cannot test - no windows machines here).
> The attached libossupport is just a prototype for testing, and it has a
> lot of limitations:
> 1) The build system is just a joke. It allows to cross-compile from
> Linux, but you will probably have to edit config.mak by hands
> 2) I created some empty header files, and put all the code in
> netinet/in.h... This probably has to be split in the different headers
> 3) Only mingw is currently supported
> Anyway, the resulting binaries seem to work ok (tested with wine), and
> network works too (I did some streaming tests).
> As usual, comments and feedback are more than welcome.
> Thanks & Merry Christmas,
These are the simple changes I had to do to compile libossupport on
OS/2. Obviously the makefile changes will be handled by the build
system, same with defining HAVE_INET-ATON. One observation is that gcc
3.3.5 does not like -Wdeclaration-after-statement.
FFmpeg will need to include netinet/in.h for socklen_t and link with
libossupport for poll.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1988 bytes
Desc: not available
More information about the ffmpeg-devel