]> git.sesse.net Git - vlc/blobdiff - src/input/es_out_timeshift.c
input: es_out_timeshift: fix temp file dir separator
[vlc] / src / input / es_out_timeshift.c
index 72ed0d27bbe0d3f0fd31c70249b2cd21900a9586..c12d73ad496dd7e8313fa4c7809ace09a64c02c2 100644 (file)
@@ -1594,7 +1594,7 @@ static FILE *GetTmpFile( char **ppsz_file, const char *psz_path )
 
     /* */
     *ppsz_file = NULL;
-    if( asprintf( &psz_name, "%s/vlc-timeshift.XXXXXX", psz_path ) < 0 )
+    if( asprintf( &psz_name, "%s"DIR_SEP"vlc-timeshift.XXXXXX", psz_path ) < 0 )
         return NULL;
 
     /* */