vls: 2 GB file limitation

alexis.guillard at bt.com alexis.guillard at bt.com
Thu Mar 14 10:58:50 CET 2002


It seems to be better to not change the code and just put the option
-D_FILE_OFFSET_BITS=64
at the CCFLAGS+= variable in the Makefile.opts. 
Thanks "hh" for help.

Alexis

 > -----Original Message-----
 > From: Guillard,A,Alexis,DEN5 C 
 > Sent: Wednesday, March 13, 2002 16:20
 > To: 'vls-devel at via.ecp.fr'
 > Subject: vls: 2 GB file limitation
 > 
 > 
 > 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