vls: 2 GB file limitation

alexis.guillard at bt.com alexis.guillard at bt.com
Wed Mar 13 17:19:48 CET 2002


To stream file bigger than 2 GigaBytes, you need to:
1) edit the ./src/core/file.cpp ligne 103 and replace 
 m_hFd = fopen(m_strPath.GetString(), strMode.GetString());
with
 m_hFd = fopen64(m_strPath.GetString(), strMode.GetString());
2) ./configure 
3) edit Makefile.opts and add " -D_LARGEFILE64_SOURCE" in the ligne that
begins by CCFLAGS+= 
4) make
5) make install

Alexis


-- 
This is the vls-devel mailing-list, see http://www.videolan.org/vls-devel/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list