[MPlayer-dev-eng] [PATCH] wav max filesize should be 4G, not 2G

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 30 21:35:39 CEST 2010


On Fri, Apr 30, 2010 at 10:18:07AM -0700, Rob McMullen wrote:
> On Mon, Apr 26, 2010 at 3:26 PM, Rob McMullen
> <robm at users.sourceforge.net> wrote:
> > The RIFF file header is defined as a DWORD
> > in the Microsoft docs -- a 32 bit unsigned integer, so the max
> > filesize in the generated .wav header should be 0xfffff000.
> 
> Any comments on this little patch?

Not all programs do it correctly, some (unfortunately which
I fear nobody knows) read it as signed and thus can not read
it at all.
Also it's not a particularly great solution anyway, it just
pushes the issue a little bit further.



More information about the MPlayer-dev-eng mailing list