projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac4dd8
)
audiod: Fix writer setup info message.
author
Andre Noll
<maan@systemlinux.org>
Sat, 6 Aug 2011 19:39:08 +0000
(21:39 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 13 Aug 2011 11:00:32 +0000
(13:00 +0200)
In the non-default case the wrong variable was used as the array index.
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index
74aa386
..
5af79b0
100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-791,7
+791,7
@@
static int parse_writer_args(void)
a->writer_conf = para_realloc(a->writer_conf, (nw + 1) * sizeof(void *));
a->writer_nums[nw] = writer_num;
a->writer_conf[nw] = wconf;
- PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[
writer_num
],
+ PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[
j
],
nw, writer_names[writer_num]);
a->num_writers++;
}