Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…dioRingBuffer)
  • Loading branch information...
commit fe4062cd48aee31a51c586b14934de0e41de318c 1 parent 1451c17
@Memphiz Memphiz authored
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.");
Please sign in to comment.
Something went wrong with that request. Please try again.