Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-09-11 03:06:57 +0400
committerDiego Biurrun <diego@biurrun.de>2011-09-11 20:41:33 +0400
commit3a0b5fa5e8f0f3eccbbe38b179ea458e98751011 (patch)
tree61fd9185f328c7777e88be4082a22cf4339a7d18 /libavutil/audioconvert.c
parent4bb3ae1eaa170add52232519c43226ef773c214f (diff)
audioconvert: K&R whitespace cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavutil/audioconvert.c')
-rw-r--r--libavutil/audioconvert.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavutil/audioconvert.c b/libavutil/audioconvert.c
index fa27f0168b..d6a4b8a4f2 100644
--- a/libavutil/audioconvert.c
+++ b/libavutil/audioconvert.c
@@ -91,13 +91,14 @@ void av_get_channel_layout_string(char *buf, int buf_size,
snprintf(buf, buf_size, "%d channels", nb_channels);
if (channel_layout) {
- int i,ch;
+ int i, ch;
av_strlcat(buf, " (", buf_size);
- for(i=0,ch=0; i<64; i++) {
- if ((channel_layout & (1L<<i))) {
+ for (i = 0, ch = 0; i < 64; i++) {
+ if ((channel_layout & (1L << i))) {
const char *name = get_channel_name(i);
if (name) {
- if (ch>0) av_strlcat(buf, "|", buf_size);
+ if (ch > 0)
+ av_strlcat(buf, "|", buf_size);
av_strlcat(buf, name, buf_size);
}
ch++;