Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: genindex with LFS (was: Working genindex for VDR (included))



On Tue, Mar 19, 2002 at 02:21:48PM +0100, Florian Steinel wrote:
> Hi,
> I'm adding LFS to genindex.c,
> while 001.vdr is size of 2168592777 bit, it only throws the error:
> Error while scanning file 001.vdr, broken mpeg file?
> (line 188) on me.
> Any hints?
> (Filessize < 2GB f'works)

Hmmm ... LFS support for genindex.c is easy, nevertheless the index.vdr
files will be broken because the struct tIndex from VDR does not
support longs or unsigned longs but on ints (four characters) ...
in other words: If VDR can not handle file sizes larger than int max
it makes no sence to do it for genindex.c.  AFAIK moving VDR from
file sizes given in ints to longs isn't that simple IMHO this would
require a lot of work.

           Werner

> 
> /* VDR supports only offset with sizeof(int) */
> struct tIndex {int offset; unsigned char type; unsigned char number; 
> short reserved; };



Home | Main Index | Thread Index