diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-06-17 14:55:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-06-17 14:55:48 +0000 |
| commit | 287a4404d9f84f7f715436be297ee944d2c49564 (patch) | |
| tree | 6b2f2719dd116a18a01b9106b9cbbcff774116e2 /src/plugins/Input/sndfile | |
| parent | 66fdb7a1576acf0ac547c32601e4adbd925b3d71 (diff) | |
| download | qmmp-287a4404d9f84f7f715436be297ee944d2c49564.tar.gz qmmp-287a4404d9f84f7f715436be297ee944d2c49564.tar.bz2 qmmp-287a4404d9f84f7f715436be297ee944d2c49564.zip | |
fixed win32 build
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8046 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sndfile')
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 753cdb0d2..1d4e6d382 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -112,7 +112,7 @@ QList<TrackInfo *> DecoderSndFileFactory::createPlayList(const QString &path, Tr memset(&snd_info, 0, sizeof(snd_info)); snd_info.format = 0; #ifdef Q_OS_WIN - sndfile = sf_wchar_open(reinterpret_cast<LPCWSTR>(fileName.utf16()), SFM_READ, &snd_info); + sndfile = sf_wchar_open(reinterpret_cast<LPCWSTR>(path.utf16()), SFM_READ, &snd_info); #else sndfile = sf_open(path.toLocal8Bit().constData(), SFM_READ, &snd_info); #endif |
