[FFmpeg-devel] [PATCH] lavfi/null: remove redudant lines

Stefano Sabatini stefasab at gmail.com
Wed May 8 00:40:23 CEST 2013


On date Tuesday 2013-05-07 14:59:13 +0000, Paul B Mahol encoded:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_null.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/libavfilter/vf_null.c b/libavfilter/vf_null.c
> index eafa268..0bafbf8 100644
> --- a/libavfilter/vf_null.c
> +++ b/libavfilter/vf_null.c
> @@ -30,7 +30,6 @@ static const AVFilterPad avfilter_vf_null_inputs[] = {
>      {
>          .name             = "default",
>          .type             = AVMEDIA_TYPE_VIDEO,
> -        .get_video_buffer = ff_null_get_video_buffer,
>      },
>      { NULL }
>  };
> @@ -46,10 +45,6 @@ static const AVFilterPad avfilter_vf_null_outputs[] = {
>  AVFilter avfilter_vf_null = {
>      .name      = "null",
>      .description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
> -
> -    .priv_size = 0,
> -
>      .inputs    = avfilter_vf_null_inputs,
> -
>      .outputs   = avfilter_vf_null_outputs,

Looks good to me assuming it has been tested, and I assume the same
change could be done on other filters, thanks.
-- 
FFmpeg = Frenzy and Fostering Magic Picky Enlightened Gnome


More information about the ffmpeg-devel mailing list