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

Paul B Mahol onemda at gmail.com
Wed May 8 10:19:50 CEST 2013


On 5/7/13, Stefano Sabatini <stefasab at gmail.com> wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

applied


More information about the ffmpeg-devel mailing list