summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2016-12-24 16:56:50 +0100
committerNicolas George <george@nsup.org>2017-01-12 14:06:16 +0100
commitc619a4e5259b6304475d889d0eae8ff661d518a7 (patch)
treea6740dd8c823105bd28c19b1f4603ebde62d2b3f /libavfilter
parentae4650f0b9cbb96b868038bafe632614832fe86f (diff)
lavfi: make two functions static.
ff_request_frame_to_filter() and ff_filter_frame_to_filter() are only used in avfilter.c.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c4
-rw-r--r--libavfilter/internal.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 64a14d318e..91b483f264 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -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;
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 04072208a4..460d75eb83 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -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, \