hello all  from a newbie,

I have a few questions about lame source code....

since lame uses 'fopen' to open files, on some systems (solaris is my
problem) it cannot open files larger than 2Gb.
I have modified the source in order to call fopen64  (file getaudio.c
line~1261) for opening of the input file. I tested it and it seems to work


(question 1)

can anyone suggest the correct #ifdefs for fopen/fopen64 calls? something
like...

#if defined(__unix__)  ||  defined(__sun__)
...call fopen64
#else
..call fopen
#endif

sounds correct ?


(question 2)
is there any chance to see this modification on the lame distribution/tar ?

(question 3)

do you think there is need to open the output stream also with fopen64 ?
Example : If someone would try to decode a 3 hours mp3 file into a linear
48kHz file with lame, what would happen to the output stream when it reaches
the 2Gb limit ?

thanks very much,


      Michelangelo Nottoli
      Multimedia Division
      Advanced Computer Systems S.p.A Via della Bufalotta, 378 - Scala M
      00139 Rome - Italy
      Tel:     +39 (06) 87090513
      Fax:     +39 (06) 87201502










      Michelangelo Nottoli
      Multimedia Division
      Advanced Computer Systems S.p.A Via della Bufalotta, 378 - Scala M
      00139 Rome - Italy
      Tel:     +39 (06) 87090513
      Fax:     +39 (06) 87201502



_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to