From 446e37dc97e533e37f6aa0a11355124207e3a7f7 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 4 Nov 2013 14:37:06 +0100 Subject: vf_fieldorder: remove superfluous get_video_buffer --- libavfilter/vf_fieldorder.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavfilter/vf_fieldorder.c') diff --git a/libavfilter/vf_fieldorder.c b/libavfilter/vf_fieldorder.c index a930e15..5185cf4 100644 --- a/libavfilter/vf_fieldorder.c +++ b/libavfilter/vf_fieldorder.c @@ -84,14 +84,6 @@ static int config_input(AVFilterLink *inlink) return 0; } -static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h) -{ - AVFilterContext *ctx = inlink->dst; - AVFilterLink *outlink = ctx->outputs[0]; - - return ff_get_video_buffer(outlink, w, h); -} - static int filter_frame(AVFilterLink *inlink, AVFrame *frame) { AVFilterContext *ctx = inlink->dst; @@ -174,7 +166,6 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = { .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = config_input, - .get_video_buffer = get_video_buffer, .filter_frame = filter_frame, .needs_writable = 1, }, -- cgit v1.1