]> git.sesse.net Git - vlc/commitdiff
Fixed es_out timeshift under windows.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 17 Jan 2009 19:39:37 +0000 (20:39 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 17 Jan 2009 20:27:29 +0000 (21:27 +0100)
A missing 'b' flag in fdopen.

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 );