aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-18 09:08:27 +0200
committerAnton Khirnov <anton@khirnov.net>2023-04-24 16:56:06 +0200
commit385430592a891949d8c7be4fda3aa4019cd174ab (patch)
tree016f2801acc22b56dd77a9c80fdd40db9ecfea8f /fftools
parenta664ec94e0b9f77a3c9598a7c509d959d4c7fcc9 (diff)
downloadffmpeg-385430592a891949d8c7be4fda3aa4019cd174ab.tar.gz
fftools/ffmpeg_filter: drop unused AUTO_INSERT_FILTER_INPUT()
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg_filter.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 52a5d19351..ea182089b1 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -1035,27 +1035,6 @@ static int configure_input_audio_filter(FilterGraph *fg, InputFilter *ifilter,
return ret;
last_filter = ifilter->filter;
-#define AUTO_INSERT_FILTER_INPUT(opt_name, filter_name, arg) do { \
- AVFilterContext *filt_ctx; \
- \
- av_log(NULL, AV_LOG_INFO, opt_name " is forwarded to lavfi " \
- "similarly to -af " filter_name "=%s.\n", arg); \
- \
- snprintf(name, sizeof(name), "graph_%d_%s_in_%d_%d", \
- fg->index, filter_name, ist->file_index, ist->st->index); \
- ret = avfilter_graph_create_filter(&filt_ctx, \
- avfilter_get_by_name(filter_name), \
- name, arg, NULL, fg->graph); \
- if (ret < 0) \
- return ret; \
- \
- ret = avfilter_link(last_filter, 0, filt_ctx, 0); \
- if (ret < 0) \
- return ret; \
- \
- last_filter = filt_ctx; \
-} while (0)
-
snprintf(name, sizeof(name), "trim for input stream %d:%d",
ist->file_index, ist->st->index);
if (copy_ts) {