Commit 9b35bee6 authored by Paul B Mahol's avatar Paul B Mahol

lavfi/fieldorder: remove redundant get_video_buffer()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent c9b5ad12
......@@ -82,14 +82,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;
......@@ -163,7 +155,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,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment