[FFmpeg-devel] [PATCH] Implement av_set_options_string()

Stefano Sabatini stefano.sabatini-lala
Fri May 15 00:56:30 CEST 2009


On date Friday 2009-05-15 00:26:11 +0200, Michael Niedermayer encoded:
> On Thu, May 14, 2009 at 09:44:22PM +0200, Stefano Sabatini wrote:
> > On date Wednesday 2009-05-13 23:44:22 +0200, Stefano Sabatini encoded:
> > > On date Tuesday 2009-05-12 01:11:58 +0200, Michael Niedermayer encoded:
> > > > On Mon, May 11, 2009 at 11:23:01PM +0200, Stefano Sabatini wrote:
> > > [...]
> > > > > +/**
> > > > > + * Parses the key/value pairs list in opts. For each key/value pair
> > > > > + * found, stores the value in the field in ctx that is named like the
> > > > > + * key. ctx must be an AVClass context, storing is done using
> > > > > + * AVOptions.
> > > > > + *
> > > > > + * @param key_val_sep a 0-terminated list of characters used to
> > > > > + * separate key from value
> > > > > + * @param pairs_sep a 0-terminated list of characters used to separate
> > > > > + * two pairs from each other
> > > > > + * @return the number of successfully set key/value pairs, a negative
> > > > > + * value corresponding to an AVERROR* error code if opts cannot be
> > > > > + * parsed, if no matching option exists for a key, or if a value is
> > > > > + * not valid
> > > > 
> > > > please document which codes are used for which case
> > > 
> > > I'm documenting it indirectly with a reference to the av_set_string3()
> > > error codes, hope it's OK like this.
> > 
> > Updated.
> 
> probably ok

Applied.
-- 
FFmpeg = Faithless Fundamental Meaningful Pitiless Erroneous Goblin



More information about the ffmpeg-devel mailing list