diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-01-29 04:28:20 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-02 23:53:30 +0100 |
commit | 2166d8d6b2f15aa61202f47603e39895c1fa8940 (patch) | |
tree | 7834cceb6707002112af24376e1ae2261530767b /fftools | |
parent | 8c01eb0a315fec8f09ba6210ce8b0296de6cc784 (diff) | |
download | ffmpeg-2166d8d6b2f15aa61202f47603e39895c1fa8940.tar.gz |
fftools/ffmpeg_filter: Remove ist_in_filtergraph
Unused since af1761f7b5b1b72197dc40934953b775c2d951cc.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg.h | 1 | ||||
-rw-r--r-- | fftools/ffmpeg_filter.c | 9 |
2 files changed, 0 insertions, 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; |