[FFmpeg-devel] [PATCH] Document the behavior of av_metadata_get() if the tag parameter is NULL

Michael Niedermayer michaelni
Sat Mar 27 21:21:01 CET 2010


On Sat, Mar 27, 2010 at 01:38:35PM +0100, Stefano Sabatini wrote:
> Hi, as in subject.
> -- 
> FFmpeg = Fierce & Fanciful Magical Plastic Elfic Game

>  avformat.h |    2 ++
>  1 file changed, 2 insertions(+)
> 21effdf726b0443842f281bbc9db4f5b71cc8e15  0002-Document-the-behavior-of-av_metadata_get-if-the-tag-.patch
> >From 99f70bbbe166e89ab3dd3972a0a5975ae304bcfb Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sat, 27 Mar 2010 12:18:58 +0100
> Subject: [PATCH 2/2] Document the behavior of av_metadata_get() if the tag parameter is
>  NULL.
> 
> ---
>  libavformat/avformat.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 58978db..3583858 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -131,6 +131,8 @@ typedef struct AVMetadataConv AVMetadataConv;
>  /**
>   * Gets a metadata element with matching key.

>   * @param prev Set to the previous matching element to find the next.
> + * If it is set to NULL, the first matching tag since the beginning
> + * of the metadata context will be returned.

too elaborate

@param prev Set to the previous matching element to find the next.
            If set to NULL the first matching is returned


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- 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/20100327/261644b0/attachment.pgp>



More information about the ffmpeg-devel mailing list