diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-07 13:26:11 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-07 18:20:16 +0000 |
commit | b077d8d9082d057d4c7abd9e0b1a98f9651cfaa8 (patch) | |
tree | 2c0c1de3f6eb4ff6b9538998e6b90a46c835b44e | |
parent | 5a16a1d508d559f2aa436ee0934ef33a0d35356c (diff) | |
download | ffmpeg-b077d8d9082d057d4c7abd9e0b1a98f9651cfaa8.tar.gz |
avfilter: remove redundant .get_(audio/video)_buffer initializations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
31 files changed, 0 insertions, 39 deletions
diff --git a/libavfilter/af_ashowinfo.c b/libavfilter/af_ashowinfo.c index 08a63951c3..84dd6500f7 100644 --- a/libavfilter/af_ashowinfo.c +++ b/libavfilter/af_ashowinfo.c @@ -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 }, diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c index cf559d4a84..e2544d6fcd 100644 --- a/libavfilter/af_silencedetect.c +++ b/libavfilter/af_silencedetect.c @@ -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 } diff --git a/libavfilter/af_volumedetect.c b/libavfilter/af_volumedetect.c index f00836f498..da1fb4ba10 100644 --- a/libavfilter/af_volumedetect.c +++ b/libavfilter/af_volumedetect.c @@ -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 } diff --git a/libavfilter/f_ebur128.c b/libavfilter/f_ebur128.c index 99e12afb9c..0463bd6f83 100644 --- a/libavfilter/f_ebur128.c +++ b/libavfilter/f_ebur128.c @@ -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, }, diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index 07a64f3139..dfad317cbc 100644 --- a/libavfilter/f_select.c +++ b/libavfilter/f_select.c @@ -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, }, diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index bb8a1786b8..1a7f6a1aa7 100644 --- a/libavfilter/f_sendcmd.c +++ b/libavfilter/f_sendcmd.c @@ -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 } diff --git a/libavfilter/f_settb.c b/libavfilter/f_settb.c index b1eac716e3..78691ea1fc 100644 --- a/libavfilter/f_settb.c +++ b/libavfilter/f_settb.c @@ -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 } diff --git a/libavfilter/f_zmq.c b/libavfilter/f_zmq.c index 547e1a3798..c1b2730e4d 100644 --- a/libavfilter/f_zmq.c +++ b/libavfilter/f_zmq.c @@ -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 } diff --git a/libavfilter/fifo.c b/libavfilter/fifo.c index c6beaf6937..3e91298a5c 100644 --- a/libavfilter/fifo.c +++ b/libavfilter/fifo.c @@ -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 } diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c index 3dd4e6a07d..12d1b5bb77 100644 --- a/libavfilter/setpts.c +++ b/libavfilter/setpts.c @@ -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, }, diff --git a/libavfilter/split.c b/libavfilter/split.c index f3fe2336af..ccc34aaf15 100644 --- a/libavfilter/split.c +++ b/libavfilter/split.c @@ -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 } diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c index 644c7f47bb..0e5ee22f44 100644 --- a/libavfilter/vf_alphamerge.c +++ b/libavfilter/vf_alphamerge.c @@ -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, },{ diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index 22d6c70e20..5ff457ea4e 100644 --- a/libavfilter/vf_aspect.c +++ b/libavfilter/vf_aspect.c @@ -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 } diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c index c96ad407fa..23c53bd3dc 100644 --- a/libavfilter/vf_blackdetect.c +++ b/libavfilter/vf_blackdetect.c @@ -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 } diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index b83e1f8bbe..34fc3f1c7d 100644 --- a/libavfilter/vf_blackframe.c +++ b/libavfilter/vf_blackframe.c @@ -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 } diff --git a/libavfilter/vf_copy.c b/libavfilter/vf_copy.c index b9859c41b6..2c14fc0224 100644 --- a/libavfilter/vf_copy.c +++ b/libavfilter/vf_copy.c @@ -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 } diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index e112c2394d..68d182238c 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -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 } diff --git a/libavfilter/vf_cropdetect.c b/libavfilter/vf_cropdetect.c index 184b769922..d194e7c99b 100644 --- a/libavfilter/vf_cropdetect.c +++ b/libavfilter/vf_cropdetect.c @@ -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 } diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 971e98670a..7ddb5c3c9b 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -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 } diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c index 7dff875938..30d3decbc6 100644 --- a/libavfilter/vf_drawbox.c +++ b/libavfilter/vf_drawbox.c @@ -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, }, diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 9240543205..3fca6fc3fd 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -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, diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 6c9b2252a0..82aecbc12a 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -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, }, diff --git a/libavfilter/vf_field.c b/libavfilter/vf_field.c index b281945cf9..e6f8b73df6 100644 --- a/libavfilter/vf_field.c +++ b/libavfilter/vf_field.c @@ -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 } diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c index 25b3d19952..c9ccad9b25 100644 --- a/libavfilter/vf_format.c +++ b/libavfilter/vf_format.c @@ -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 } }; diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index f3a1dc1c81..da3afc1e27 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -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, }, diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c index 45d510ba40..9366e86fb4 100644 --- a/libavfilter/vf_mpdecimate.c +++ b/libavfilter/vf_mpdecimate.c @@ -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, }, diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 7d93c9e998..f3e789196b 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -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, diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c index 2b385fc533..50bd199075 100644 --- a/libavfilter/vf_removelogo.c +++ b/libavfilter/vf_removelogo.c @@ -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, }, diff --git a/libavfilter/vf_setfield.c b/libavfilter/vf_setfield.c index 4d42cfa968..c45dbf3100 100644 --- a/libavfilter/vf_setfield.c +++ b/libavfilter/vf_setfield.c @@ -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 } diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 82becc40f4..9e016c0252 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -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 } diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index f0bb3db0e5..0ce6312d87 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -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 } |