diff plugin/plugins/SamplePlayer.cpp @ 1361:49b43306778b 3.0-integration

Win32 fixes
author Chris Cannam
date Tue, 10 Jan 2017 11:08:14 +0000
parents 1c9bbbb6116a
children 48e9f538e6e9
line wrap: on
line diff
--- a/plugin/plugins/SamplePlayer.cpp	Tue Jan 10 11:06:19 2017 +0000
+++ b/plugin/plugins/SamplePlayer.cpp	Tue Jan 10 11:08:14 2017 +0000
@@ -401,7 +401,7 @@
 
     info.format = 0;
 #ifdef Q_OS_WIN
-    file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &m_fileInfo);
+    file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &info);
 #else
     file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info);
 #endif