You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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:
committed by
Michael Niedermayer
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++;
|
||||||
|
Reference in New Issue
Block a user