aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/AudioEngine/Utils/AERingBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Utils/AERingBuffer.h b/xbmc/cores/AudioEngine/Utils/AERingBuffer.h
index 87e73132ed..0f9aeeb714 100644
--- a/xbmc/cores/AudioEngine/Utils/AERingBuffer.h
+++ b/xbmc/cores/AudioEngine/Utils/AERingBuffer.h
@@ -156,7 +156,7 @@ public:
unsigned int space = GetReadSize();
//want to read more than we have written?
- if( space <= 0 )
+ if( space == 0 )
{
#ifdef AE_RING_BUFFER_DEBUG
CLog::Log(LOGDEBUG, "AERingBuffer: Can't read from empty buffer.");