[Ffmpeg-devel] Patch: wav decoder eof handling

Ulrich von Zadow coder
Wed Jun 28 10:38:16 CEST 2006


Axel Holzinger wrote:
> Hello Michael et al,
> 
> Michael Niedermayer wrote:
> 
>>should be int64_t / uint64_t to avoid a 2gb limit on the file
> 
> this is a good idea, but keep in mind that RIFF is always bound
> to a maximum of 4GB file size, as all sizes in a RIFF file are
> stored in 32 bit values.

There are unsigned 32-bit size values in the file, so each chunk can be up to 4 
gb in length. A multi-chunk wave file could in theory be larger than 4 gb.

Cheers,

   Uli




More information about the ffmpeg-devel mailing list