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_bbox.c | |
parent | 0354412aa3722a29e9842369fb718f1d22e7d693 (diff) | |
download | ffmpeg-c9e183b490add7e3712974fec85db6c86c13b671.tar.gz |
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_bbox.c')
-rw-r--r-- | libavfilter/vf_bbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_bbox.c b/libavfilter/vf_bbox.c index f8dc625524..6fc693517c 100644 --- a/libavfilter/vf_bbox.c +++ b/libavfilter/vf_bbox.c @@ -52,7 +52,7 @@ static int query_formats(AVFilterContext *ctx) PIX_FMT_NONE, }; - avfilter_set_common_pixel_formats(ctx, avfilter_make_format_list(pix_fmts)); + ff_set_common_formats(ctx, ff_make_format_list(pix_fmts)); return 0; } @@ -87,7 +87,7 @@ static void end_frame(AVFilterLink *inlink) bbox->frame++; avfilter_unref_buffer(picref); - avfilter_end_frame(inlink->dst->outputs[0]); + ff_end_frame(inlink->dst->outputs[0]); } AVFilter avfilter_vf_bbox = { @@ -100,7 +100,7 @@ AVFilter avfilter_vf_bbox = { .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 = ff_null_start_frame_keep_ref, .end_frame = end_frame, .min_perms = AV_PERM_READ, }, |