diff --git a/libavfilter/vf_null.c b/libavfilter/vf_null.c index 582708ce0c..3724ac7d68 100644 --- a/libavfilter/vf_null.c +++ b/libavfilter/vf_null.c @@ -23,12 +23,6 @@ #include "avfilter.h" -static AVFilterPicRef *get_video_buffer(AVFilterLink *link, int perms, - int w, int h) -{ - return avfilter_get_video_buffer(link->dst->outputs[0], perms, w, h); -} - static void start_frame(AVFilterLink *link, AVFilterPicRef *picref) { avfilter_start_frame(link->dst->outputs[0], picref); @@ -47,7 +41,6 @@ AVFilter avfilter_vf_null = { .inputs = (AVFilterPad[]) {{ .name = "default", .type = CODEC_TYPE_VIDEO, - .get_video_buffer = get_video_buffer, .start_frame = start_frame, .end_frame = end_frame }, { .name = NULL}},