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 <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Nicolas George 2011-11-05 21:21:50 +01:00 committed by Michael Niedermayer
parent 526a7d855d
commit 1125571b73
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ void av_get_channel_layout_string(char *buf, int buf_size,
const char *name = get_channel_name(i); const char *name = get_channel_name(i);
if (name) { if (name) {
if (ch > 0) if (ch > 0)
av_strlcat(buf, "|", buf_size); av_strlcat(buf, "+", buf_size);
av_strlcat(buf, name, buf_size); av_strlcat(buf, name, buf_size);
} }
ch++; ch++;