Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all
Unified · Split
| @@ -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; |