crystalhd: use WCHAR were TEXT() was used to set the variable
authorSteve Lhomme <robux4@ycbcr.xyz>
Wed, 3 Apr 2019 06:51:06 +0000 (08:51 +0200)
committerSteve Lhomme <robux4@ycbcr.xyz>
Wed, 3 Apr 2019 07:55:33 +0000 (09:55 +0200)
_T() is for TCHAR, TEXT() is for WCHAR

modules/codec/crystalhd.c

index 5fab036..98526e1 100644 (file)
@@ -193,7 +193,7 @@ static int OpenDecoder( vlc_object_t *p_this )
 #ifdef USE_DL_OPENING
 #  define DLL_NAME "bcmDIL.dll"
 #  define PATHS_NB 3
-    static const TCHAR *psz_paths[PATHS_NB] = {
+    static const WCHAR *psz_paths[PATHS_NB] = {
         TEXT(DLL_NAME),
         TEXT("C:\\Program Files\\Broadcom\\Broadcom CrystalHD Decoder\\" DLL_NAME),
         TEXT("C:\\Program Files (x86)\\Broadcom\\Broadcom CrystalHD Decoder\\" DLL_NAME),