mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
526a7d855d
commit
1125571b73
|
@ -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++;
|
||||||
|
|
Loading…
Reference in New Issue