On Wed, Jul 31, 2013 at 12:35:39PM +0300, Martin Storsjö wrote:
> --- /dev/null
> +++ b/libavformat/rtpproto.h
> @@ -0,0 +1,32 @@
> +/*
> + * RTP network protocol
> + * Copyright (c) 2002 Fabrice Bellard
> + *
> + * This file is part of Libav.
> + *
> + * Libav is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License as published by the Free Software Foundation; either
> + * version 2.1 of the License, or (at your option) any later version.
> + *
> + * Libav is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with Libav; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 
> USA
> + */
> +
> +#ifndef AVFORMAT_RTPPROTO_H
> +#define AVFORMAT_RTPPROTO_H
> +
> +#include "url.h"
> +
> +int ff_rtp_set_remote_url(URLContext *h, const char *uri);
> +
> +int ff_rtp_get_local_rtp_port(URLContext *h);
> +int ff_rtp_get_local_rtcp_port(URLContext *h);
> +
> +#endif /* AVFORMAT_RTPPROTO_H */

Adding a (C) line to this is silly IMO.  I'd just leave it out.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to