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

Stefano Sabatini stefano.sabatini-lala
Thu May 14 21:44:22 CEST 2009


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.

Regards.
-- 
FFmpeg = Funny and Fantastic Miracolous Proud Epehemeral Gargoyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parseutils-implement-set-options.patch
Type: text/x-diff
Size: 6571 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090514/d063c6bd/attachment.patch>



More information about the ffmpeg-devel mailing list