Browse Source

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>
tags/n0.9
Nicolas George Michael Niedermayer 14 years ago
parent
commit
1125571b73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/audioconvert.c

+ 1
- 1
libavutil/audioconvert.c View File

@@ -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++;


Loading…
Cancel
Save