Author: akhaldi
Date: Sun Jun 5 18:38:02 2016
New Revision: 71538
URL:
http://svn.reactos.org/svn/reactos?rev=71538&view=rev
Log:
[AVIFIL32] Sync with Wine Staging 1.9.11. CORE-11368
Modified:
trunk/reactos/dll/win32/avifil32/api.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/avifil32/api.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/avifil32/api.c?r…
==============================================================================
--- trunk/reactos/dll/win32/avifil32/api.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/avifil32/api.c [iso-8859-1] Sun Jun 5 18:38:02 2016
@@ -1014,14 +1014,16 @@
return AVIERR_ERROR;
}
for (n = 0;RegEnumKeyW(hKey, n, szFileExt, sizeof(szFileExt)/sizeof(szFileExt[0])) ==
ERROR_SUCCESS;n++) {
+ WCHAR clsidW[40];
+
/* get CLSID to extension */
- size = sizeof(szValue);
- if (RegQueryValueW(hKey, szFileExt, szValue, &size) != ERROR_SUCCESS)
+ size = sizeof(clsidW);
+ if (RegQueryValueW(hKey, szFileExt, clsidW, &size) != ERROR_SUCCESS)
break;
/* search if the CLSID is already known */
for (i = 1; i <= count; i++) {
- if (lstrcmpW(lp[i].szClsid, szValue) == 0)
+ if (lstrcmpW(lp[i].szClsid, clsidW) == 0)
break; /* a new one */
}
@@ -1036,7 +1038,7 @@
break;
}
- lstrcpyW(lp[i].szClsid, szValue);
+ lstrcpyW(lp[i].szClsid, clsidW);
count++;
}
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sun Jun 5 18:38:02 2016
@@ -48,7 +48,7 @@
reactos/dll/win32/atl # Synced to WineStaging-1.9.4
reactos/dll/win32/atl80 # Synced to WineStaging-1.9.4
reactos/dll/win32/atl100 # Synced to WineStaging-1.9.4
-reactos/dll/win32/avifil32 # Synced to WineStaging-1.9.4
+reactos/dll/win32/avifil32 # Synced to WineStaging-1.9.11
reactos/dll/win32/bcrypt # Synced to WineStaging-1.9.4
reactos/dll/win32/browseui # Out of sync
reactos/dll/win32/cabinet # Synced to WineStaging-1.9.4