summaryrefslogtreecommitdiff
path: root/libavfilter/vf_hflip.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-16 09:47:46 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-16 15:15:16 +0000
commitc9e183b490add7e3712974fec85db6c86c13b671 (patch)
tree6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/vf_hflip.c
parent0354412aa3722a29e9842369fb718f1d22e7d693 (diff)
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_hflip.c')
-rw-r--r--libavfilter/vf_hflip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c
index bfc83f2fda..459cfab886 100644
--- a/libavfilter/vf_hflip.c
+++ b/libavfilter/vf_hflip.c
@@ -88,14 +88,14 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
AVFilterLink *outlink = inlink->dst->outputs[0];
outlink->out_buf =
- avfilter_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
+ ff_get_video_buffer(outlink, AV_PERM_WRITE, outlink->w, outlink->h);
avfilter_copy_buffer_ref_props(outlink->out_buf, picref);
/* copy palette if required */
if (av_pix_fmt_descriptors[inlink->format].flags & PIX_FMT_PAL)
memcpy(inlink->dst->outputs[0]->out_buf->data[1], picref->data[1], AVPALETTE_SIZE);
- avfilter_start_frame(outlink, avfilter_ref_buffer(outlink->out_buf, ~0));
+ ff_start_frame(outlink, avfilter_ref_buffer(outlink->out_buf, ~0));
}
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)