diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-11 00:33:43 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-11 00:33:43 +0000 |
commit | 9e3ad2380a28a7473a1dfa9ae41697ebacfd85cc (patch) | |
tree | 574c177004f4acec6f10ac6460e803e2e7a60b0a /src/sample.c | |
parent | a5daff7859c3a8904cb379c59f3cefbaae4f57f2 (diff) |
autoconf
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@5 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/sample.c')
-rw-r--r-- | src/sample.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sample.c b/src/sample.c index 74a54937..2e46eac7 100644 --- a/src/sample.c +++ b/src/sample.c @@ -10,7 +10,7 @@ struct sample_spec default_sample_spec = { }; struct memblock *silence(struct memblock* b, struct sample_spec *spec) { - char c; + char c = 0; assert(b && spec); memblock_assert_exclusive(b); @@ -53,7 +53,7 @@ void add_clip(struct memchunk *target, struct memchunk *chunk, struct sample_spe size_t sample_size(struct sample_spec *spec) { assert(spec); - size_t b; + size_t b = 1; switch (spec->format) { case SAMPLE_U8: |