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/buffersrc.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/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 7af9f6c571..3ffab60398 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -109,8 +109,8 @@ int av_buffersrc_write_frame(AVFilterContext *buffer_filter, AVFrame *frame) case AVMEDIA_TYPE_VIDEO: CHECK_VIDEO_PARAM_CHANGE(buffer_filter, c, frame->width, frame->height, frame->format); - buf = avfilter_get_video_buffer(buffer_filter->outputs[0], AV_PERM_WRITE, - c->w, c->h); + buf = ff_get_video_buffer(buffer_filter->outputs[0], AV_PERM_WRITE, + c->w, c->h); av_image_copy(buf->data, buf->linesize, frame->data, frame->linesize, c->pix_fmt, c->w, c->h); break; |