Commit d4cfab5a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Support for large files in stream output

Closes #48
Closes Debian #306110
parent 2f322e1f
......@@ -51,6 +51,9 @@
#ifndef STDOUT_FILENO
# define STDOUT_FILENO 1
#endif
#ifndef O_LARGEFILE
# define O_LARGEFILE 0
#endif
/*****************************************************************************
* Module descriptor
......@@ -115,7 +118,7 @@ static int Open( vlc_object_t *p_this )
msg_Err( p_access, "no file name specified" );
return VLC_EGENERIC;
}
i_flags = O_RDWR|O_CREAT;
i_flags = O_RDWR|O_CREAT|O_LARGEFILE;
var_Get( p_access, SOUT_CFG_PREFIX "append", &val );
if( val.b_bool )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment