diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 09:47:46 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-16 15:15:16 +0000 |
commit | c9e183b490add7e3712974fec85db6c86c13b671 (patch) | |
tree | 6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/vf_setfield.c | |
parent | 0354412aa3722a29e9842369fb718f1d22e7d693 (diff) |
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_setfield.c')
-rw-r--r-- | libavfilter/vf_setfield.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 } }, |