Skip to content

Commit

Permalink
avfilter: remove redundant .get_(audio/video)_buffer initializations
Browse files Browse the repository at this point in the history
Signed-off-by: Paul B Mahol <[email protected]>
  • Loading branch information
richardpl committed Sep 7, 2013
1 parent 5a16a1d commit b077d8d
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion libavfilter/af_ashowinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
1 change: 0 additions & 1 deletion libavfilter/af_silencedetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/af_volumedetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/f_ebur128.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/f_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/f_sendcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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 }
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/f_settb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/f_zmq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/fifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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 }
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/setpts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/split.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_alphamerge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},{
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/vf_aspect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_blackdetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_blackframe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_crop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_cropdetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_delogo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_drawbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_drawtext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_fade.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_field.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 0 additions & 2 deletions libavfilter/vf_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
};
Expand Down Expand Up @@ -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 }
};
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_il.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_mpdecimate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_removelogo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_setfield.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_showinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 0 additions & 1 deletion libavfilter/vf_thumbnail.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit b077d8d

Please sign in to comment.