mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
add an assert()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1727 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6817987116
commit
bfe69cebf3
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ void pa_fdsem_wait(pa_fdsem *f) {
|
|||
pa_atomic_sub(&f->in_pipe, r);
|
||||
}
|
||||
|
||||
pa_atomic_dec(&f->waiting);
|
||||
pa_assert_se(pa_atomic_dec(&f->waiting) >= 1);
|
||||
}
|
||||
|
||||
int pa_fdsem_try(pa_fdsem *f) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue