[vlc-commits] crystalhd: use WCHAR were TEXT() was used to set the variable

Steve Lhomme git at videolan.org
Wed Apr 3 09:55:57 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Apr  3 08:51:06 2019 +0200| [cf73d45de451d0665dd7857c891a7d2f3e636dbd] | committer: Steve Lhomme

crystalhd: use WCHAR were TEXT() was used to set the variable

_T() is for TCHAR, TEXT() is for WCHAR

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf73d45de451d0665dd7857c891a7d2f3e636dbd
---

 modules/codec/crystalhd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/crystalhd.c b/modules/codec/crystalhd.c
index 5fab036989..98526e175c 100644
--- a/modules/codec/crystalhd.c
+++ b/modules/codec/crystalhd.c
@@ -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),



More information about the vlc-commits mailing list