From 1125571b736b664a5ef079ec9e6f09640682eeda Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 5 Nov 2011 21:21:50 +0100 Subject: [PATCH] audioconvert: use + in av_get_channel_layout_string. When constructing a channel layout string from individual channel names, + is a more practical separator than |, because it is usually not a shell special character. Signed-off-by: Nicolas George Signed-off-by: Michael Niedermayer --- libavutil/audioconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c index d89796de1a..f4c74f6a1a 100644 --- a/libavutil/audioconvert.c +++ b/libavutil/audioconvert.c @@ -113,7 +113,7 @@ void av_get_channel_layout_string(char *buf, int buf_size, const char *name = get_channel_name(i); if (name) { if (ch > 0) - av_strlcat(buf, "|", buf_size); + av_strlcat(buf, "+", buf_size); av_strlcat(buf, name, buf_size); } ch++;