[FFmpeg-devel] Libavnet
Michael Niedermayer
michaelni
Fri Nov 23 18:43:33 CET 2007
On Fri, Nov 23, 2007 at 03:03:51PM +0100, Luca Abeni wrote:
> Luca Abeni wrote:
> [...]
>>>> + REGISTER_PROTOCOL (HTTP, http);
>>>> + REGISTER_PROTOCOL (RTP, rtp);
>>>> + REGISTER_PROTOCOL (TCP, tcp);
>>>> + REGISTER_PROTOCOL (UDP, udp);
>>>> +}
>>> cant review as these have not been diffed against their ancestors
>> Sorry about this... I used quilt to easily update the patches, and
>> it's not able to handle copies/renames. I'll post a proper patch
>> in few minutes.
>
> Here it is...
>
> (note: to make the patch more reviewable I manually removed all the hunks
> corresponding to files removed from libavformat).
>
>
> Luca
[...]
> Index: libavnet/avnet.h
> ===================================================================
> --- libavnet/avnet.h (revision 0)
> +++ libavnet/avnet.h (revision 0)
> @@ -0,0 +1,49 @@
> +/*
> + * This file is part of FFmpeg.
> + *
> + * FFmpeg 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.
> + *
> + * FFmpeg 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 FFmpeg; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
> + */
> +
> +#ifndef FFMPEG_AVNET_H
> +#define FFMPEG_AVNET_H
> +
> +#define LIBAVNET_VERSION_INT ((52<<16)+(0<<8)+0)
> +#define LIBAVNET_VERSION 52.0.0
> +#define LIBAVNET_BUILD LIBAVNET_VERSION_INT
> +
> +/**
> + * Generate an SDP for an RTP session.
> + *
> + * @param ac array of AVFormatContexts describing the RTP streams. If the
> + * array is composed by only one context, such context can contain
> + * multiple AVStreams (one AVStream per RTP stream). Otherwise,
> + * all the contexts in the array (an AVCodecContext per RTP stream)
> + * must contain only one AVStream
> + * @param n_files number of AVCodecContexts contained in ac
> + * @param buff buffer where the SDP will be stored (must be allocated by
> + * the caller
> + * @param size the size of the buffer
> + * @return 0 if OK. AVERROR_xxx if error.
> + */
> +int avf_sdp_create(AVFormatContext *ac[], int n_files, char *buff, int size);
> +
> +/**
> + * Initialize libavnet and register all the (de)muxers and protocols.
> + * @warning This function is not thread safe.
> + */
> +void avnet_register_all(void);
> +
> +#endif /* FFMPEG_AVNET_H */
> +
this isnt diffed against its ancestor
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071123/234e9803/attachment.pgp>
More information about the ffmpeg-devel
mailing list