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

Stefano Sabatini stefano.sabatini-lala
Fri May 8 09:07:03 CEST 2009


On date Friday 2009-05-08 03:11:07 +0200, Michael Niedermayer encoded:
> On Thu, May 07, 2009 at 09:22:01AM +0200, Stefano Sabatini wrote:
> > On date Thursday 2009-05-07 02:02:58 +0200, Michael Niedermayer encoded:
> [...]
> > +int av_set_options_string(void *ctx, const char *opts,
> > +                          const char *key_val_sep, const char *pairs_sep)
> > +{
> > +    int count = 0;
> > +
> > +    while (*opts) {
> 
> > +        if (parse_key_value_pair(ctx, &opts, key_val_sep, pairs_sep) < 0)
> > +            return -1;
> 
> passing the error code through seems like a good idea ...

Indeed it is... patch updated.

Regards.
-- 
FFmpeg = Faboulous and Faithless Merciless Puristic Extreme Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parseutils-implement-set-options.patch
Type: text/x-diff
Size: 6529 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090508/59a3a33a/attachment.patch>



More information about the ffmpeg-devel mailing list