aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_testsrc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-30 10:31:48 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-13 11:09:15 +0200
commit6d58358a3a3274e84a4e34a348165fbb3f484587 (patch)
treedc8b693c6e1065977902a3ed979269fd83246179 /libavfilter/vsrc_testsrc.c
parent8772997d102024b23fc820e3e5d9b96b4d309092 (diff)
downloadffmpeg-6d58358a3a3274e84a4e34a348165fbb3f484587.tar.gz
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/vsrc_testsrc.c')
-rw-r--r--libavfilter/vsrc_testsrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 7187241136..a6159ef6e1 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -132,8 +132,7 @@ static int request_frame(AVFilterLink *outlink)
if (test->max_pts >= 0 && test->pts > test->max_pts)
return AVERROR_EOF;
- picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE,
- test->w, test->h);
+ picref = ff_get_video_buffer(outlink, AV_PERM_WRITE, test->w, test->h);
picref->pts = test->pts++;
picref->pos = -1;
picref->video->key_frame = 1;