Fix for uninitialized usage of spos in AUD_LinearResampleReader::read

Patch is verified by neXyon
This commit is contained in:
Sergey Sharybin
2011-11-14 19:44:49 +00:00
parent 21fa7e0b86
commit ff82aa8677

View File

@@ -155,6 +155,9 @@ void AUD_LinearResampleReader::read(int& length, bool& eos, sample_t* buffer)
m_cache_ok = true;
}
if(length == 0)
return;
for(int channel = 0; channel < m_channels; channel++)
{
for(int i = 0; i < length; i++)