[FFmpeg-cvslog] avfilter/avfiltergraph: remove ugly dead code
Paul B Mahol
git at videolan.org
Mon Dec 11 23:44:19 EET 2017
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 11 22:39:26 2017 +0100| [cbd524b26cd825af8bf4b4565a29f4ed2d3f4728] | committer: Paul B Mahol
avfilter/avfiltergraph: remove ugly dead code
Remnant of old merge.
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbd524b26cd825af8bf4b4565a29f4ed2d3f4728
---
libavfilter/avfiltergraph.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index a959a9ef3f..4cc6892404 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -518,7 +518,6 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
AVFilterContext *convert;
const AVFilter *filter;
AVFilterLink *inlink, *outlink;
- char scale_args[256];
char inst_name[30];
if (graph->disable_auto_convert) {
@@ -555,10 +554,6 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
snprintf(inst_name, sizeof(inst_name), "auto_resampler_%d",
resampler_count++);
- scale_args[0] = '\0';
- if (graph->aresample_swr_opts)
- snprintf(scale_args, sizeof(scale_args), "%s",
- graph->aresample_swr_opts);
if ((ret = avfilter_graph_create_filter(&convert, filter,
inst_name, graph->aresample_swr_opts,
NULL, graph)) < 0)
More information about the ffmpeg-cvslog
mailing list