Skip to content
This repository
Browse code

[AE] - Fix wrong comparison in AERingBuffer (backport from old CoreAu…

…dioRingBuffer)
  • Loading branch information...
commit fe4062cd48aee31a51c586b14934de0e41de318c 1 parent 1451c17
Memphiz authored August 29, 2013
2  xbmc/cores/AudioEngine/Utils/AERingBuffer.h
@@ -156,7 +156,7 @@ class AERingBuffer {
156 156
     unsigned int space = GetReadSize();
157 157
 
158 158
     //want to read more than we have written?
159  
-    if( space <= 0 )
  159
+    if( space == 0 )
160 160
     {
161 161
 #ifdef AE_RING_BUFFER_DEBUG
162 162
       CLog::Log(LOGDEBUG, "AERingBuffer: Can't read from empty buffer.");

0 notes on commit fe4062c

Please sign in to comment.
Something went wrong with that request. Please try again.