diff mbox

[FFmpeg-devel,15/17] lavfi: make two functions static.

Message ID 20161224174149.8995-16-george@nsup.org
State Accepted
Commit c619a4e5259b6304475d889d0eae8ff661d518a7
Headers show

Commit Message

Nicolas George Dec. 24, 2016, 5:41 p.m. UTC
ff_request_frame_to_filter() and ff_filter_frame_to_filter()
are only used in avfilter.c.

Signed-off-by: Nicolas George <george@nsup.org>
---
 libavfilter/avfilter.c | 4 ++--
 libavfilter/internal.h | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index bacf6dc055..2b0068d3c2 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 a140617b68..e653608fa4 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -538,10 +538,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,                   \