diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-11-05 21:21:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-06 01:39:51 +0100 |
commit | 1125571b736b664a5ef079ec9e6f09640682eeda (patch) | |
tree | ac37ecb7ce38f83f200f9bb62bbf26e83cedf6fc | |
parent | 526a7d855d67ed11c4cae044266e5c439e12ad0a (diff) | |
download | ffmpeg-1125571b736b664a5ef079ec9e6f09640682eeda.tar.gz |
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>
-rw-r--r-- | libavutil/audioconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |