--- Gy?rki Istv?n <istvan.gyurki@freemail.hu> wrote:
> Hello All,
>
> I was struggling with the need of creating flac files over 2GB
> recently.
> Both the command line flac and my util using stream encoder returned
> FLAC__STREAM_ENCODER_CLIENT_ERROR when reaching that point.
>
> Finally I made a small change in libFLAC/stream_encoder.c in
> file_tell_callback_ function.
> I replaced the ftello call to fgetpos. This seems to work very well
> under win32.
>
> Based on the description at
>
http://www.gnu.org/software/libc/manual/html_node/Portable-Positioning.html> I think this should be also portable solution.
>
> Hope this small change could help other users, too.
the 2GB limit should only be a problem on windows with msvc. thanks
for the tip, I will look into fgetpos for that case, hopefully it
will work with msvc6 which is what I compile the releases with.
Josh
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the
tools to get online.
http://smallbusiness.yahoo.com/webhosting