From c9e183b490add7e3712974fec85db6c86c13b671 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 16 Jun 2012 09:47:46 +0000 Subject: lavfi: update some deprecated functions Signed-off-by: Paul B Mahol --- libavfilter/vf_setfield.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_setfield.c') diff --git a/libavfilter/vf_setfield.c b/libavfilter/vf_setfield.c index 00be599265..d50a252e23 100644 --- a/libavfilter/vf_setfield.c +++ b/libavfilter/vf_setfield.c @@ -24,6 +24,7 @@ */ #include "avfilter.h" +#include "video.h" enum SetFieldMode { MODE_AUTO = -1, @@ -79,7 +80,7 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref) outpicref->video->interlaced = 1; outpicref->video->top_field_first = setfield->mode; } - avfilter_start_frame(inlink->dst->outputs[0], outpicref); + ff_start_frame(inlink->dst->outputs[0], outpicref); } AVFilter avfilter_vf_setfield = { @@ -92,7 +93,7 @@ AVFilter avfilter_vf_setfield = { .inputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, - .get_video_buffer = avfilter_null_get_video_buffer, + .get_video_buffer = ff_null_get_video_buffer, .start_frame = start_frame, }, { .name = NULL } }, -- cgit v1.2.3