[vlc-commits] es_out_timeshift: don't use GetTempPathW for Windows Store app
Rafaël Carré
git at videolan.org
Thu May 9 15:35:47 CEST 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu May 9 15:35:28 2013 +0200| [da24e5576910bbe7b06f019fb6257fa6bc940ad6] | committer: Rafaël Carré
es_out_timeshift: don't use GetTempPathW for Windows Store app
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da24e5576910bbe7b06f019fb6257fa6bc940ad6
---
src/input/es_out_timeshift.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index 520f735..561c87b 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -1553,7 +1553,7 @@ static char *GetTmpPath( char *psz_path )
free( psz_path );
/* Create a suitable path */
-#if defined (WIN32)
+#if defined (WIN32) && !VLC_WINSTORE_APP
const DWORD dwCount = GetTempPathW( 0, NULL );
wchar_t *psw_path = calloc( dwCount + 1, sizeof(wchar_t) );
if( psw_path )
More information about the vlc-commits
mailing list