From 7a71544f9d0c2df152f58cc97238a9eb3038cbc7 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Thu, 14 Mar 2013 20:13:13 +0100 Subject: [PATCH] lavfi/graphdump: fix output for unknown layouts. --- libavfilter/graphdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/graphdump.c b/libavfilter/graphdump.c index 45f64c0146..28e9bc9789 100644 --- a/libavfilter/graphdump.c +++ b/libavfilter/graphdump.c @@ -45,7 +45,7 @@ static int print_link_prop(AVBPrint *buf, AVFilterLink *link) case AVMEDIA_TYPE_AUDIO: av_get_channel_layout_string(layout, sizeof(layout), - -1, link->channel_layout); + link->channels, link->channel_layout); format = av_x_if_null(av_get_sample_fmt_name(link->format), "?"); av_bprintf(buf, "[%dHz %s:%s]", (int)link->sample_rate, format, layout); -- 2.11.0