Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-14 23:13:13 +0400
committerNicolas George <nicolas.george@normalesup.org>2013-03-14 23:52:50 +0400
commit7a71544f9d0c2df152f58cc97238a9eb3038cbc7 (patch)
treebff49f0630d007452319587b61f08306b863dece /libavfilter/graphdump.c
parent0eb56a085d84ff8b696fea8468c368a11658dedc (diff)
lavfi/graphdump: fix output for unknown layouts.
Diffstat (limited to 'libavfilter/graphdump.c')
-rw-r--r--libavfilter/graphdump.c2
1 files changed, 1 insertions, 1 deletions
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);