[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
Mon Sep 20 21:12:28 CEST 2010


2
On date Sunday 2010-09-05 23:05:04 +0200, Stefano Sabatini encoded:
> On date Sunday 2010-09-05 22:11:34 +0200, Aurelien Jacobs encoded:
> > On Fri, Sep 03, 2010 at 05:00:24PM +0200, Stefano Sabatini wrote:
> [...]
> > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> > > index b4b0cec..4bb0592 100644
> > > --- a/libavcodec/avcodec.h
> > > +++ b/libavcodec/avcodec.h
> > > @@ -50,6 +50,7 @@
> > >  #ifndef FF_API_PALETTE_CONTROL
> > >  #define FF_API_PALETTE_CONTROL  (LIBAVCODEC_VERSION_MAJOR < 54)
> > >  #endif
> > > +#define FF_API_OPT_SHOW         (LIBAVCODEC_VERSION_MAJOR < 53)
> > 
> > Please add #ifndef like other defines around. This will allow for
> > example some automated regression tests by simply configuring with:
> >   --extra-cflags="-DFF_API_OPT_SHOW=0"
> 
> Fixed locally.

Updated.
-- 
FFmpeg = Forgiving & Formidable Minimalistic Programmable Elected Gadget



More information about the ffmpeg-devel mailing list