search for: file_tell_callback_

Displaying 1 result from an estimated 1 matches for "file_tell_callback_".

2007 Sep 25
1
creating flacs over 2GB
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. I...