[FFmpeg-devel] [PATCH 2/2] Add documentation for the pm parameter of the av_metadata_set functions.

Stefano Sabatini stefano.sabatini-lala
Wed Aug 11 16:38:57 CEST 2010


On date Wednesday 2010-08-11 16:20:11 +0200, Aurelien Jacobs encoded:
> On Wed, Aug 11, 2010 at 12:01:14PM +0200, Stefano Sabatini wrote:
> > On date Wednesday 2010-08-11 11:14:40 +0200, Stefano Sabatini encoded:
> > > ---
> > >  libavformat/avformat.h |    4 ++++
> > >  1 files changed, 4 insertions(+), 0 deletions(-)
> > > 
> > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> > > index 0c70279..4d2c51d 100644
> > > --- a/libavformat/avformat.h
> > > +++ b/libavformat/avformat.h
> > > @@ -144,6 +144,8 @@ av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int f
> > >  /**
> > >   * Set the given tag in *pm, overwriting an existing tag.
> > >   *
> > > + * @param pm pointer to a pointer to a metadata struct, if NULL the
> > > + * metadata struct is allocated and the new metadata struct is put in *pm
> > 
> > Auto-correction:
> > 
> > @param pm pointer to a pointer to a metadata struct, if *pm is NULL
> > the metadata struct is allocated and the new metadata struct is put in
> > *pm.
> 
> Patch OK with the correction.

Applied with some simplifications.
-- 
FFmpeg = Funny Fucking Mystic Powerful Ecletic Guru



More information about the ffmpeg-devel mailing list