[vlc-commits] input: es_out_timeshift: fix temp file dir separator

Francois Cartegnie git at videolan.org
Wed Feb 12 15:06:23 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 12 15:04:51 2014 +0100| [c0ebd894917fcd8de8b9ed5924a5c9616a73870e] | committer: Francois Cartegnie

input: es_out_timeshift: fix temp file dir separator

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

 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 72ed0d2..c12d73a 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -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;
 
     /* */



More information about the vlc-commits mailing list