]> git.sesse.net Git - vlc/blobdiff - modules/access_output/file.c
Use vlc_dup
[vlc] / modules / access_output / file.c
index 73bd8d5c741cf873fc1f0aaf5e87e9dc3f2f1c0e..36abb60b6033a8d8e6b9c4e3fccaea3053eef5ff 100644 (file)
@@ -119,7 +119,7 @@ static int Open( vlc_object_t *p_this )
 #ifdef WIN32
         setmode (fileno (stdout), O_BINARY);
 #endif
-        fd = dup (fileno (stdout));
+        fd = vlc_dup (fileno (stdout));
         msg_Dbg( p_access, "using stdout" );
 #else
 #warning stdout is not supported on Windows Mobile, but may be used on Windows CE