[FFmpeg-devel] [PATCH 15/17] lavfi: make two functions static.
Nicolas George
george at nsup.org
Thu Dec 29 16:34:01 EET 2016
ff_request_frame_to_filter() and ff_filter_frame_to_filter()
are only used in avfilter.c.
Signed-off-by: Nicolas George <george at nsup.org>
---
libavfilter/avfilter.c | 4 ++--
libavfilter/internal.h | 4 ----
2 files changed, 2 insertions(+), 6 deletions(-)
Unchanged.
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 680ecf8f95..90544848da 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -428,7 +428,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;
@@ -1248,7 +1248,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 69048144f7..46a15fa72d 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -340,10 +340,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, \
--
2.11.0
More information about the ffmpeg-devel
mailing list