[vlc-devel] commit: Fixed es_out timeshift under windows. (Laurent Aimar )

git version control git at videolan.org
Sat Jan 17 21:28:54 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jan 17 20:39:37 2009 +0100| [d27169fb97aef122686a2e1c622341cbc70f97ae] | committer: Laurent Aimar 

Fixed es_out timeshift under windows.

A missing 'b' flag in fdopen.

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

 src/input/es_out_timeshift.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index 8b0c618..a94b7aa 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -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 );
 




More information about the vlc-devel mailing list