[FFmpeg-devel] [PATCH 1/2] Deprecate av_opt_show() in favor of a new function av_opt_show2(), which allows to specify only a subset of all the options to show.

Stefano Sabatini stefano.sabatini-lala
Wed Sep 1 18:09:04 CEST 2010


On date Wednesday 2010-09-01 17:53:32 +0200, Aurelien Jacobs encoded:
> On Wed, Sep 01, 2010 at 12:53:10AM +0200, Stefano Sabatini wrote:
> > diff --git a/libavcodec/opt.c b/libavcodec/opt.c
> > index 128d95d..7c8a9c1 100644
> > --- a/libavcodec/opt.c
> > +++ b/libavcodec/opt.c
> > [...]
> >  
> > +#if LIBAVCODEC_VERSION_MAJOR < 53
> 
> Please don't use LIBAVCODEC_VERSION_MAJOR directly.
> Instead, define a FF_API_OPT_SHOW in avcodec.h.

What's the advantage of such approach?
-- 
FFmpeg = Fostering & Fast Mastering Picky Ecumenical God



More information about the ffmpeg-devel mailing list