diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-06-09 19:16:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-19 09:48:55 +0200 |
commit | 1bdd53e2f95522eefddc34217c74afe8aa8d9a03 (patch) | |
tree | f70819bbdc9f3f89fcd6f28e17dbaaf45ef070b2 | |
parent | b1a213ab5d84085ae2b98452daa8feda01881cbf (diff) | |
download | ffmpeg-1bdd53e2f95522eefddc34217c74afe8aa8d9a03.tar.gz |
fftools/ffmpeg_filter: make configure_filtergraph() static
It is no longer used outside of ffmpeg_filter.
-rw-r--r-- | fftools/ffmpeg.h | 1 | ||||
-rw-r--r-- | 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; |