mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user