diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 58afa04cea929c0be145a0aa341643d3347e314c..e529af9ff7d2ffd376f144fb251a501c215245fa 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -46,11 +46,6 @@ void avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter)
  */
 int avfilter_graph_config_formats(AVFilterGraph *graphctx);
 
-/**
- * Configure the parameters (resolution, etc) of all links in the graph.
- */
-int avfilter_graph_config_links(AVFilterGraph *graphctx);
-
 /**
  * Free a graph and destroy its links.
  */