[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.

Aurelien Jacobs aurel
Wed Sep 1 17:53:32 CEST 2010


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.

Aurel



More information about the ffmpeg-devel mailing list