History

vf_fieldorder: remove superfluous get_video_buffer

Vittorio Giovara committed 13 years ago

Commit 446e37d1 parent 454959a1 file · +0 −9Browse files

Unified · Split

libavfilter/vf_fieldorder.c+0−9
@@ -84,14 +84,6 @@ static int config_input(AVFilterLink *inlink) · 83 unmodified lines
84 return 0;84 return 0;
85}85}
86 86
87static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h)
88{
89 AVFilterContext *ctx = inlink->dst;
90 AVFilterLink *outlink = ctx->outputs[0];
91
92 return ff_get_video_buffer(outlink, w, h);
93}
94
95static int filter_frame(AVFilterLink *inlink, AVFrame *frame)87static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
96{88{
97 AVFilterContext *ctx = inlink->dst;89 AVFilterContext *ctx = inlink->dst;
@@ -174,7 +166,6 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = { · 76 unmodified lines
174 .name = "default",166 .name = "default",
175 .type = AVMEDIA_TYPE_VIDEO,167 .type = AVMEDIA_TYPE_VIDEO,
176 .config_props = config_input,168 .config_props = config_input,
177 .get_video_buffer = get_video_buffer,
178 .filter_frame = filter_frame,169 .filter_frame = filter_frame,
179 .needs_writable = 1,170 .needs_writable = 1,
180 },171 },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t