Commit 1125571b authored by Nicolas George's avatar Nicolas George Committed by Michael Niedermayer

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: 's avatarNicolas George <nicolas.george@normalesup.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 526a7d85
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment