Browse Source

Fix FLAC decoder code to compile if someone uncomments it. Resolves issue #1322.

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
01fe2c5df2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/sound/lullaby/FLACDecoder.cpp

+ 1 - 1
src/modules/sound/lullaby/FLACDecoder.cpp

@@ -69,7 +69,7 @@ bool FLACDecoder::accepts(const std::string &ext)
 
 love::sound::Decoder *FLACDecoder::clone()
 {
-	return new FLACDecoder(data.get(), ext, bufferSize, sampleRate);
+	return new FLACDecoder(data.get(), ext, bufferSize);
 }
 
 int FLACDecoder::decode()