]> git.sesse.net Git - vlc/commitdiff
input: es_out_timeshift: fix temp file dir separator
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 12 Feb 2014 14:04:51 +0000 (15:04 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 12 Feb 2014 14:06:03 +0000 (15:06 +0100)
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;
 
     /* */