[flac-dev] 2GB limit patch

Cristian Adam cristian.adam at gmail.com
Mon Mar 4 14:40:49 PST 2013

On 3/4/2013 11:26 PM, Martijn van Beurden wrote:
> On 04-03-13 23:19, Erik de Castro Lopo wrote:
>> Link please?
> http://www.hydrogenaudio.org/forums/index.php?showtopic=99757
>> Err, thats a link to a post talking about flac's WAV reader being limited
>> to 4Gig files. Problem is, *all* WAV files greater than 4Gig are mal-formed.
>> Due to limitations in the way WAV files are specified, no valid WAV file
>> can ever be over 4Gig.
>> Also, the link in that post contains a flac windows binary which is not
>> of much use.
> It seems Case hasn't released any source, but the other posts in the 
> thread state what changes have been made to get to this.
> _______________________________________________
> flac-dev mailing list
> flac-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/flac-dev

This is an older issue reported in 2007:

The fix would be to use _ftelli64 instead of ftell with Visual Studio.


More information about the flac-dev mailing list