Explorar o código

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

--HG--
branch : minor
Alex Szpakowski %!s(int64=8) %!d(string=hai) anos
pai
achega
01fe2c5df2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()