summaryrefslogtreecommitdiff
path: root/tools/graph2dot.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/graph2dot.c')
-rw-r--r--tools/graph2dot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/graph2dot.c b/tools/graph2dot.c
index fd7ea2848e..d96bfd8126 100644
--- a/tools/graph2dot.c
+++ b/tools/graph2dot.c
@@ -91,8 +91,7 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph)
link->time_base.num, link->time_base.den);
} else if (link->type == AVMEDIA_TYPE_AUDIO) {
char buf[255];
- av_get_channel_layout_string(buf, sizeof(buf), -1,
- link->channel_layout);
+ av_channel_layout_describe(&link->ch_layout, buf, sizeof(buf));
fprintf(outfile,
"fmt:%s sr:%d cl:%s tb:%d/%d",
av_get_sample_fmt_name(link->format),