avfilter: remove redundant .get_(audio/video)_buffer initializations
authorPaul B Mahol <onemda@gmail.com>
Sat, 7 Sep 2013 13:26:11 +0000 (13:26 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 7 Sep 2013 18:20:16 +0000 (18:20 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
31 files changed:
libavfilter/af_ashowinfo.c
libavfilter/af_silencedetect.c
libavfilter/af_volumedetect.c
libavfilter/f_ebur128.c
libavfilter/f_select.c
libavfilter/f_sendcmd.c
libavfilter/f_settb.c
libavfilter/f_zmq.c
libavfilter/fifo.c
libavfilter/setpts.c
libavfilter/split.c
libavfilter/vf_alphamerge.c
libavfilter/vf_aspect.c
libavfilter/vf_blackdetect.c
libavfilter/vf_blackframe.c
libavfilter/vf_copy.c
libavfilter/vf_crop.c
libavfilter/vf_cropdetect.c
libavfilter/vf_delogo.c
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_field.c
libavfilter/vf_format.c
libavfilter/vf_il.c
libavfilter/vf_mpdecimate.c
libavfilter/vf_overlay.c
libavfilter/vf_removelogo.c
libavfilter/vf_setfield.c
libavfilter/vf_showinfo.c
libavfilter/vf_thumbnail.c

index 08a6395..84dd650 100644 (file)
@@ -103,7 +103,6 @@ static const AVFilterPad inputs[] = {
     {
         .name       = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL },
index cf559d4..e2544d6 100644 (file)
@@ -141,7 +141,6 @@ static const AVFilterPad silencedetect_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index f00836f..da1fb4b 100644 (file)
@@ -135,7 +135,6 @@ static const AVFilterPad volumedetect_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 99e12af..0463bd6 100644 (file)
@@ -779,7 +779,6 @@ static const AVFilterPad ebur128_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
         .config_props     = config_audio_input,
     },
index 07a64f3..dfad317 100644 (file)
@@ -470,7 +470,6 @@ static const AVFilterPad avfilter_af_aselect_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .config_props     = config_input,
         .filter_frame     = filter_frame,
     },
@@ -514,7 +513,6 @@ static const AVFilterPad avfilter_vf_select_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props     = config_input,
         .filter_frame     = filter_frame,
     },
index bb8a178..1a7f6a1 100644 (file)
@@ -514,7 +514,6 @@ static const AVFilterPad sendcmd_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
@@ -550,7 +549,6 @@ static const AVFilterPad asendcmd_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index b1eac71..78691ea 100644 (file)
@@ -129,7 +129,6 @@ static const AVFilterPad avfilter_vf_settb_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
@@ -165,7 +164,6 @@ static const AVFilterPad avfilter_af_asettb_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 547e1a3..c1b2730 100644 (file)
@@ -248,7 +248,6 @@ static const AVFilterPad azmq_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index c6beaf6..3e91298 100644 (file)
@@ -254,7 +254,6 @@ static const AVFilterPad avfilter_vf_fifo_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = add_to_queue,
     },
     { NULL }
@@ -286,7 +285,6 @@ static const AVFilterPad avfilter_af_afifo_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = add_to_queue,
     },
     { NULL }
index 3dd4e6a..12d1b5b 100644 (file)
@@ -232,7 +232,6 @@ static const AVFilterPad avfilter_vf_setpts_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props     = config_input,
         .filter_frame     = filter_frame,
     },
@@ -270,7 +269,6 @@ static const AVFilterPad asetpts_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .config_props     = config_input,
         .filter_frame     = filter_frame,
     },
index f3fe233..ccc34aa 100644 (file)
@@ -108,7 +108,6 @@ static const AVFilterPad avfilter_vf_split_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
@@ -134,7 +133,6 @@ static const AVFilterPad avfilter_af_asplit_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_AUDIO,
-        .get_audio_buffer = ff_null_get_audio_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 644c7f4..0e5ee22 100644 (file)
@@ -175,7 +175,6 @@ static const AVFilterPad alphamerge_inputs[] = {
         .name             = "main",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_input_main,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
         .needs_writable   = 1,
     },{
index 22d6c70..5ff457e 100644 (file)
@@ -143,7 +143,6 @@ static const AVFilterPad avfilter_vf_setdar_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = setdar_config_props,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
@@ -208,7 +207,6 @@ static const AVFilterPad avfilter_vf_setsar_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = setsar_config_props,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index c96ad40..23c53bd 100644 (file)
@@ -179,7 +179,6 @@ static const AVFilterPad blackdetect_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_input,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index b83e1f8..34fc3f1 100644 (file)
@@ -107,7 +107,6 @@ static const AVFilterPad avfilter_vf_blackframe_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index b9859c4..2c14fc0 100644 (file)
@@ -48,7 +48,6 @@ static const AVFilterPad avfilter_vf_copy_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index e112c23..68d1822 100644 (file)
@@ -318,7 +318,6 @@ static const AVFilterPad avfilter_vf_crop_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .filter_frame     = filter_frame,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props     = config_input,
     },
     { NULL }
index 184b769..d194e7c 100644 (file)
@@ -226,7 +226,6 @@ static const AVFilterPad avfilter_vf_cropdetect_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_input,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 971e986..7ddb5c3 100644 (file)
@@ -264,7 +264,6 @@ static const AVFilterPad avfilter_vf_delogo_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 7dff875..30d3dec 100644 (file)
@@ -257,7 +257,6 @@ static const AVFilterPad drawbox_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_input,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
         .needs_writable   = 1,
     },
index 9240543..3fca6fc 100644 (file)
@@ -1041,7 +1041,6 @@ static const AVFilterPad avfilter_vf_drawtext_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
         .config_props     = config_input,
         .needs_writable   = 1,
index 6c9b225..82aecbc 100644 (file)
@@ -326,7 +326,6 @@ static const AVFilterPad avfilter_vf_fade_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_props,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
         .needs_writable   = 1,
     },
index b281945..e6f8b73 100644 (file)
@@ -88,7 +88,6 @@ static const AVFilterPad field_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 25b3d19..c9ccad9 100644 (file)
@@ -116,7 +116,6 @@ static const AVFilterPad avfilter_vf_format_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
     },
     { NULL }
 };
@@ -159,7 +158,6 @@ static const AVFilterPad avfilter_vf_noformat_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
     },
     { NULL }
 };
index f3a1dc1..da3afc1 100644 (file)
@@ -186,7 +186,6 @@ static const AVFilterPad inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
         .config_props     = config_input,
     },
index 45d510b..9366e86 100644 (file)
@@ -229,7 +229,6 @@ static const AVFilterPad mpdecimate_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props     = config_input,
         .filter_frame     = filter_frame,
     },
index 7d93c9e..f3e7891 100644 (file)
@@ -601,7 +601,6 @@ static const AVFilterPad avfilter_vf_overlay_inputs[] = {
     {
         .name         = "main",
         .type         = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props = config_input_main,
         .filter_frame = filter_frame_main,
         .needs_writable = 1,
index 2b385fc..50bd199 100644 (file)
@@ -553,7 +553,6 @@ static const AVFilterPad removelogo_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .config_props     = config_props_input,
         .filter_frame     = filter_frame,
     },
index 4d42cfa..c45dbf3 100644 (file)
@@ -71,7 +71,6 @@ static const AVFilterPad setfield_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index 82becc4..9e016c0 100644 (file)
@@ -79,7 +79,6 @@ static const AVFilterPad avfilter_vf_showinfo_inputs[] = {
     {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }
index f0bb3db..0ce6312 100644 (file)
@@ -212,7 +212,6 @@ static const AVFilterPad thumbnail_inputs[] = {
         .name             = "default",
         .type             = AVMEDIA_TYPE_VIDEO,
         .config_props     = config_props,
-        .get_video_buffer = ff_null_get_video_buffer,
         .filter_frame     = filter_frame,
     },
     { NULL }