summaryrefslogtreecommitdiffstats
path: root/libao2/ao_pulse.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-03 10:46:15 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-03 10:46:15 +0000
commit11e44a3936ad8f9bfcc68ba957ae3844f8c94169 (patch)
tree3b06587af155774c1628c5d965e6dd9d5f7a6d83 /libao2/ao_pulse.c
parent420b6b4d440e178680a1b33a11ccf587386f6d6c (diff)
downloadmpv-11e44a3936ad8f9bfcc68ba957ae3844f8c94169.tar.bz2
mpv-11e44a3936ad8f9bfcc68ba957ae3844f8c94169.tar.xz
Remove idiotic check that would always be false
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24951 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_pulse.c')
-rw-r--r--libao2/ao_pulse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_pulse.c b/libao2/ao_pulse.c
index ad4a7447bc..97c0c8398e 100644
--- a/libao2/ao_pulse.c
+++ b/libao2/ao_pulse.c
@@ -300,7 +300,7 @@ static int get_space(void) {
pa_threaded_mainloop_lock(mainloop);
l = pa_stream_writable_size(stream);
pa_threaded_mainloop_unlock(mainloop);
- return l < 0 ? 0 : l;
+ return l;
}
/** Return the current latency in seconds */