Skip to content
Browse files

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

…dioRingBuffer)
  • Loading branch information...
1 parent 1451c17 commit fe4062cd48aee31a51c586b14934de0e41de318c @Memphiz Memphiz committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Utils/AERingBuffer.h
View
2 xbmc/cores/AudioEngine/Utils/AERingBuffer.h
@@ -156,7 +156,7 @@ class AERingBuffer {
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.");

0 comments on commit fe4062c

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