aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_movie.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_movie.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_movie.c')
-rw-r--r--libavfilter/vsrc_movie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index ff3022cdd6..f887e95c86 100644
--- a/libavfilter/vsrc_movie.c
+++ b/libavfilter/vsrc_movie.c
@@ -237,8 +237,8 @@ static int movie_get_frame(AVFilterLink *outlink)
if (frame_decoded) {
/* FIXME: avoid the memcpy */
- movie->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE |
- AV_PERM_REUSE2, outlink->w, outlink->h);
+ movie->picref = ff_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE |
+ AV_PERM_REUSE2, outlink->w, outlink->h);
av_image_copy(movie->picref->data, movie->picref->linesize,
movie->frame->data, movie->frame->linesize,
movie->picref->format, outlink->w, outlink->h);