diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-30 12:31:48 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-13 13:09:15 +0400 |
commit | 6d58358a3a3274e84a4e34a348165fbb3f484587 (patch) | |
tree | dc8b693c6e1065977902a3ed979269fd83246179 /libavfilter/vf_pad.c | |
parent | 8772997d102024b23fc820e3e5d9b96b4d309092 (diff) |
lavfi: make avfilter_get_video_buffer() private on next bump.
They are only useful inside filters and we don't allow user filters for
now.
Diffstat (limited to 'libavfilter/vf_pad.c')
-rw-r--r-- | libavfilter/vf_pad.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index 2e98aea028..11c59b9f69 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -256,9 +256,9 @@ static AVFilterBufferRef *get_video_buffer(AVFilterLink *inlink, int perms, int { PadContext *pad = inlink->dst->priv; - AVFilterBufferRef *picref = avfilter_get_video_buffer(inlink->dst->outputs[0], perms, - w + (pad->w - pad->in_w), - h + (pad->h - pad->in_h)); + AVFilterBufferRef *picref = ff_get_video_buffer(inlink->dst->outputs[0], perms, + w + (pad->w - pad->in_w), + h + (pad->h - pad->in_h)); int plane; picref->video->w = w; @@ -327,9 +327,9 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref) if(pad->needs_copy){ av_log(inlink->dst, AV_LOG_DEBUG, "Direct padding impossible allocating new frame\n"); avfilter_unref_buffer(outpicref); - outpicref = avfilter_get_video_buffer(inlink->dst->outputs[0], AV_PERM_WRITE | AV_PERM_NEG_LINESIZES, - FFMAX(inlink->w, pad->w), - FFMAX(inlink->h, pad->h)); + outpicref = ff_get_video_buffer(inlink->dst->outputs[0], AV_PERM_WRITE | AV_PERM_NEG_LINESIZES, + FFMAX(inlink->w, pad->w), + FFMAX(inlink->h, pad->h)); avfilter_copy_buffer_ref_props(outpicref, inpicref); } |