[FFmpeg-devel] [PATCH] Added integer 32 bits support to wavpack

Laurent Aimar fenrir
Sat May 2 20:03:17 CEST 2009

On Sat, May 02, 2009, Kostya wrote:
> >  I thought that the bitstream layer ensured that no read could go beyond the
> > provided buffer.
> >  Looking at get_bits.h it does not seems to, so I have attached a patch that
> > check that the provided buffer is wide enought.
> Why not check it once during initialization? Decoder always read
> extra_bits*channels*samples+32, doesn't it?
 From wv docs, it does not seems that the order of the chunks is imposed, so
I cannot suppose that INT32INFO (needed to know the number of bits)
is received before EXTRA_BITS.


More information about the ffmpeg-devel mailing list