[libav-devel] [PATCH] sctp: Initial tcp-alike sctp support with streams

Sean McGovern gseanmcg at gmail.com
Wed May 9 02:26:38 CEST 2012


On Tue, May 8, 2012 at 6:43 PM, Luca Barbato <lu_zero at gentoo.org> wrote:

> Signed-off-by: Jordi Ortiz <nenjordi at gmail.com>
> Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> ---
>  configure                |    3 +
>  libavformat/Makefile     |    1 +
>  libavformat/allformats.c |    1 +
>  libavformat/sctp.c       |  328
> ++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 333 insertions(+), 0 deletions(-)
>  create mode 100644 libavformat/sctp.c
>
>
This broke the Solaris build.

>From the manpage for sctp_send:

NAME
     sctp_send - send message from an SCTP socket

SYNOPSIS
     cc [ flag... ] file... -lsocket -lnsl -lsctp [ library... ]
     #include <sys/types.h>
     #include <sys/socket.h>
     #include <netinet/sctp.h>

<..snip..>

So it looks like we need to link against libsctp (only on Solaris), and
make sure to #include <sys/types.h> and <sys/socket.h> before
<netinet/sctp.h> (currently we don't).

Can someone look at this soon? I have other priorities tonight.

-- Sean McG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-devel/attachments/20120508/84f31ed3/attachment.html>


More information about the libav-devel mailing list