Fixed a crash in QAAC detection code.

This commit is contained in:
LoRd_MuldeR 2011-11-23 00:03:42 +01:00
parent 11acbb60a0
commit 8db30bdd68

View File

@ -490,7 +490,7 @@ void InitializationThread::initQAac(void)
qaacFileInfo[1] = QFileInfo(QString("%1/libsoxrate.dll").arg(appPath)); qaacFileInfo[1] = QFileInfo(QString("%1/libsoxrate.dll").arg(appPath));
bool qaacFilesFound = true; bool qaacFilesFound = true;
for(int i = 0; i < 4; i++) { if(!qaacFileInfo[i].exists()) qaacFilesFound = false; } for(int i = 0; i < 2; i++) { if(!qaacFileInfo[i].exists()) qaacFilesFound = false; }
//Lock the QAAC binaries //Lock the QAAC binaries
if(!qaacFilesFound) if(!qaacFilesFound)