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:
634afed
)
fix a bogus assert
author
Lennart Poettering
<lennart@poettering.net>
Thu, 29 Jan 2009 23:14:50 +0000
(
00:14
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 29 Jan 2009 23:14:50 +0000
(
00:14
+0100)
src/pulse/volume.c
patch
|
blob
|
history
diff --git
a/src/pulse/volume.c
b/src/pulse/volume.c
index
4da133d
..
711c3a9
100644
(file)
--- a/
src/pulse/volume.c
+++ b/
src/pulse/volume.c
@@
-505,7
+505,7
@@
pa_cvolume* pa_cvolume_scale(pa_cvolume *v, pa_volume_t max) {
unsigned c;
pa_volume_t t = 0;
- pa_assert(
c
);
+ pa_assert(
v
);
for (c = 0; c < v->channels; c++)
if (v->values[c] > t)