mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -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,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue