[FFmpeg-cvslog] libavfilter: fix --enable-small

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Jul 21 12:37:07 CEST 2011


On date Thursday 2011-07-21 11:01:54 +0200, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 21 11:00:47 2011 +0200| [633aa01f728b3f67b420e9e34ef21a995578d613] | committer: Michael Niedermayer
> 
> libavfilter: fix --enable-small
> 
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=633aa01f728b3f67b420e9e34ef21a995578d613
> ---
> 
>  libavfilter/vf_lut.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
> index a1f93ff..bc74a9d 100644
> --- a/libavfilter/vf_lut.c
> +++ b/libavfilter/vf_lut.c
> @@ -341,8 +341,8 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
>  
>  #define DEFINE_LUT_FILTER(name_, description_, init_)                   \
>      AVFilter avfilter_vf_##name_ = {                                    \
> -        .name          = NULL_IF_CONFIG_SMALL(#name_),                  \
> -        .description   = description_,                                  \
> +        .name          = #name_,                                        \
> +        .description   = NULL_IF_CONFIG_SMALL(description_),            \
>          .priv_size     = sizeof(LutContext),                            \

Ouch, +2l to me ;-).


More information about the ffmpeg-cvslog mailing list