projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6775386
)
initialize 'length' properly
author
Lennart Poettering
<lennart@poettering.net>
Mon, 6 Aug 2007 16:12:54 +0000
(16:12 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 6 Aug 2007 16:12:54 +0000
(16:12 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1580
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/pstream.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/pstream.c
b/src/pulsecore/pstream.c
index
0ffa583
..
c88f9aa
100644
(file)
--- a/
src/pulsecore/pstream.c
+++ b/
src/pulsecore/pstream.c
@@
-347,7
+347,8
@@
void pa_pstream_send_memblock(pa_pstream*p, uint32_t channel, int64_t offset, pa
return;
idx = 0;
-
+ length = chunk->length;
+
while (length > 0) {
struct item_info *i;
size_t n;