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
236 236
237 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",237 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",
238 resampler_count++);238 resampler_count++);
239 if ((ret = avfilter_graph_create_filter(&convert,239 if ((ret = avfilter_graph_create_filter(&convert, filter,
240 avfilter_get_by_name("resample"),
241 inst_name, NULL, NULL, graph)) < 0)240 inst_name, NULL, NULL, graph)) < 0)
242 return ret;241 return ret;
243 break;242 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