History

avfiltergraph: remove a redundant call to avfilter_get_by_name().

Anton Khirnov committed 14 years ago

Commit 24b2f4e1 parent 2f296e31 file · +1 −2Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+1−2
@@ -236,8 +236,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 235 unmodified lines
236236
237237 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",
238238 resampler_count++);
239− if ((ret = avfilter_graph_create_filter(&convert,
240− avfilter_get_by_name("resample"),
239+ if ((ret = avfilter_graph_create_filter(&convert, filter,
241240 inst_name, NULL, NULL, graph)) < 0)
242241 return ret;
243242 break;

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