lavfi: make two functions static.

ff_request_frame_to_filter() and ff_filter_frame_to_filter()
are only used in avfilter.c.
This commit is contained in:
Nicolas George 2016-12-24 16:56:50 +01:00
parent ae4650f0b9
commit c619a4e525
2 changed files with 2 additions and 6 deletions

View File

@ -429,7 +429,7 @@ int ff_request_frame(AVFilterLink *link)
return 0;
}
int ff_request_frame_to_filter(AVFilterLink *link)
static int ff_request_frame_to_filter(AVFilterLink *link)
{
int ret = -1;
@ -1249,7 +1249,7 @@ static int take_samples(AVFilterLink *link, unsigned min, unsigned max,
return 0;
}
int ff_filter_frame_to_filter(AVFilterLink *link)
static int ff_filter_frame_to_filter(AVFilterLink *link)
{
AVFrame *frame = NULL;
AVFilterContext *dst = link->dst;

View File

@ -339,10 +339,6 @@ int ff_poll_frame(AVFilterLink *link);
*/
int ff_request_frame(AVFilterLink *link);
int ff_request_frame_to_filter(AVFilterLink *link);
int ff_filter_frame_to_filter(AVFilterLink *link);
#define AVFILTER_DEFINE_CLASS(fname) \
static const AVClass fname##_class = { \
.class_name = #fname, \