diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-13 12:12:08 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-13 15:58:03 +0400 |
commit | 24b2f4ed21e463a4bd3beec16f2bdef4a15241c1 (patch) | |
tree | 521aef4e904522c430ab8715be2dc4185fe85637 /libavfilter/avfiltergraph.c | |
parent | 2f296e39a17cd947c6675c20ff61a2d993ff0de2 (diff) |
avfiltergraph: remove a redundant call to avfilter_get_by_name().
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 0a863e569c..3d463a84d5 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -236,8 +236,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d", resampler_count++); - if ((ret = avfilter_graph_create_filter(&convert, - avfilter_get_by_name("resample"), + if ((ret = avfilter_graph_create_filter(&convert, filter, inst_name, NULL, NULL, graph)) < 0) return ret; break; |