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

Stefano Sabatini stefano.sabatini-lala
Sat May 9 11:01:35 CEST 2009


On date Friday 2009-05-08 09:07:03 +0200, Stefano Sabatini encoded:
> 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.

Ping.
-- 
FFmpeg = Furious and Forgiving Merciless Purposeless Educated Ghost



More information about the ffmpeg-devel mailing list