mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
initialize 'length' properly
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1580 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6775386983
commit
c306b83525
1 changed files with 2 additions and 1 deletions
|
|
@ -347,6 +347,7 @@ void pa_pstream_send_memblock(pa_pstream*p, uint32_t channel, int64_t offset, pa
|
||||||
return;
|
return;
|
||||||
|
|
||||||
idx = 0;
|
idx = 0;
|
||||||
|
length = chunk->length;
|
||||||
|
|
||||||
while (length > 0) {
|
while (length > 0) {
|
||||||
struct item_info *i;
|
struct item_info *i;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue