[FFmpeg-cvslog] fftools/ffmpeg_filter: Remove ist_in_filtergraph
Andreas Rheinhardt
git at videolan.org
Wed Feb 3 01:06:43 EET 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Fri Jan 29 04:28:20 2021 +0100| [2166d8d6b2f15aa61202f47603e39895c1fa8940] | committer: Andreas Rheinhardt
fftools/ffmpeg_filter: Remove ist_in_filtergraph
Unused since af1761f7b5b1b72197dc40934953b775c2d951cc.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2166d8d6b2f15aa61202f47603e39895c1fa8940
---
fftools/ffmpeg.h | 1 -
fftools/ffmpeg_filter.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 6750432a81..fa726575f4 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -656,7 +656,6 @@ enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *avctx,
int configure_filtergraph(FilterGraph *fg);
int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out);
void check_filter_outputs(void);
-int ist_in_filtergraph(FilterGraph *fg, InputStream *ist);
int filtergraph_is_simple(FilterGraph *fg);
int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
int init_complex_filtergraph(FilterGraph *fg);
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index c2b7ece95d..00534d7e92 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1176,15 +1176,6 @@ int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame)
return 0;
}
-int ist_in_filtergraph(FilterGraph *fg, InputStream *ist)
-{
- int i;
- for (i = 0; i < fg->nb_inputs; i++)
- if (fg->inputs[i]->ist == ist)
- return 1;
- return 0;
-}
-
int filtergraph_is_simple(FilterGraph *fg)
{
return !fg->graph_desc;
More information about the ffmpeg-cvslog
mailing list