]> git.sesse.net Git - vlc/blobdiff - src/input/es_out_timeshift.c
Fixed es_out timeshift under windows.
[vlc] / src / input / es_out_timeshift.c
index 8b0c6180e6be0b3129b3462e61bb19d191daba01..a94b7aab9281cb43c63b42c1695aa987d0755c7f 100644 (file)
@@ -1552,7 +1552,7 @@ static FILE *GetTmpFile( char **ppsz_file, const char *psz_path )
         return NULL;
 
     /* */
-    f = fdopen( fd, "rw+" );
+    f = fdopen( fd, "r+b" );
     if( !f )
         close( fd );