History

avfilter/avfiltergraph: remove ugly dead code

Remnant of old merge.

Paul B Mahol committed 8 years ago

Commit cbd524b1 parent fd542b61 file · +0 −5Browse files

Unified · Split

libavfilter/avfiltergraph.c+0−5
@@ -518,7 +518,6 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 517 unmodified lines
518518 AVFilterContext *convert;
519519 const AVFilter *filter;
520520 AVFilterLink *inlink, *outlink;
521− char scale_args[256];
522521 char inst_name[30];
523522
524523 if (graph->disable_auto_convert) {
@@ -555,10 +554,6 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 30 unmodified lines
555554
556555 snprintf(inst_name, sizeof(inst_name), "auto_resampler_%d",
557556 resampler_count++);
558− scale_args[0] = '\0';
559− if (graph->aresample_swr_opts)
560− snprintf(scale_args, sizeof(scale_args), "%s",
561− graph->aresample_swr_opts);
562557 if ((ret = avfilter_graph_create_filter(&convert, filter,
563558 inst_name, graph->aresample_swr_opts,
564559 NULL, graph)) < 0)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t