Skip to content

Commit

Permalink
[AE] - Fix wrong comparison in AERingBuffer (backport from old CoreAu…
Browse files Browse the repository at this point in the history
…dioRingBuffer)
  • Loading branch information
Memphiz committed Aug 29, 2013
1 parent 1451c17 commit fe4062c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/AudioEngine/Utils/AERingBuffer.h
Expand Up @@ -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.");
Expand Down

0 comments on commit fe4062c

Please sign in to comment.