[FFmpeg-cvslog] fftools/ffmpeg_filter: make configure_filtergraph() static
Anton Khirnov
git at videolan.org
Mon Jun 19 12:11:19 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Jun 9 19:16:29 2023 +0200| [1bdd53e2f95522eefddc34217c74afe8aa8d9a03] | committer: Anton Khirnov
fftools/ffmpeg_filter: make configure_filtergraph() static
It is no longer used outside of ffmpeg_filter.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1bdd53e2f95522eefddc34217c74afe8aa8d9a03
---
fftools/ffmpeg.h | 1 -
fftools/ffmpeg_filter.c | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 8de8e94e31..80d9ab52bc 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -726,7 +726,6 @@ const AVCodec *find_codec_or_die(void *logctx, const char *name,
enum AVMediaType type, int encoder);
int parse_and_set_vsync(const char *arg, int *vsync_var, int file_idx, int st_idx, int is_global);
-int configure_filtergraph(FilterGraph *fg);
void check_filter_outputs(void);
int filtergraph_is_simple(const FilterGraph *fg);
int init_simple_filtergraph(InputStream *ist, OutputStream *ost,
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 54c7ed1f5c..ccde5b26ec 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -133,6 +133,8 @@ static InputFilterPriv *ifp_from_ifilter(InputFilter *ifilter)
return (InputFilterPriv*)ifilter;
}
+static int configure_filtergraph(FilterGraph *fg);
+
static int sub2video_get_blank_frame(InputFilterPriv *ifp)
{
AVFrame *frame = ifp->sub2video.frame;
@@ -1496,7 +1498,7 @@ static int graph_is_meta(AVFilterGraph *graph)
return 1;
}
-int configure_filtergraph(FilterGraph *fg)
+static int configure_filtergraph(FilterGraph *fg)
{
FilterGraphPriv *fgp = fgp_from_fg(fg);
AVBufferRef *hw_device;
More information about the ffmpeg-cvslog
mailing list