summaryrefslogtreecommitdiff
path: root/libavfilter/vf_yadif.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-10 00:09:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-10 00:09:11 +0200
commit8f29901b5468f99f336900ae008d86d1f100188f (patch)
tree6349bc06e57e3ec9c7410ccfa6fb5f7784935c92 /libavfilter/vf_yadif.c
parent2f7e8dcf45f11df94f47acbe6825cc93514ea59b (diff)
yadif: remove get_video_buffer, its redundant now
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_yadif.c')
-rw-r--r--libavfilter/vf_yadif.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index a79df7f00a..d25c7b11b4 100644
--- a/libavfilter/vf_yadif.c
+++ b/libavfilter/vf_yadif.c
@@ -163,24 +163,6 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic,
emms_c();
}
-static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms, int w, int h)
-{
- AVFilterBufferRef *picref;
- int width = FFALIGN(w, 32);
- int height= FFALIGN(h+2, 32);
- int i;
-
- picref = ff_default_get_video_buffer(link, perms, width, height);
-
- picref->video->w = w;
- picref->video->h = h;
-
- for (i = 0; i < 3; i++)
- picref->data[i] += picref->linesize[i];
-
- return picref;
-}
-
static int return_frame(AVFilterContext *ctx, int is_second)
{
YADIFContext *yadif = ctx->priv;
@@ -456,7 +438,6 @@ AVFilter avfilter_vf_yadif = {
.inputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.start_frame = start_frame,
- .get_video_buffer = get_video_buffer,
.draw_slice = null_draw_slice,
.end_frame = end_frame,
.rej_perms = AV_PERM_REUSE2, },