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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat May 1 09:12:45 CEST 2010


On Fri, Apr 30, 2010 at 04:15:27PM -0700, Rob McMullen wrote:
> On Fri, Apr 30, 2010 at 12:35 PM, Reimar Döffinger
> <Reimar.Doeffinger at gmx.de> wrote:
> > 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.
> 
> Anything mplayer writes out that's less than 2GB would still be able
> to be read by faulty programs that ignore the spec and read it as
> signed.  You object to, say, a 0x90000000 byte .wav that with this
> patch would cause faulty programs to see a negative size instead of
> 0x7ffff000 bytes?

No, I think you also changed the "default" value that will be used when
streaming, the other part I think is ok if it works independently.
Or what do you think?



More information about the MPlayer-dev-eng mailing list