[FFmpeg-devel] [PATCH 01/10] avcodec/dca: remove Rice code length limit

foo86 foobaz86 at gmail.com
Fri May 20 15:54:23 CEST 2016

On Fri, May 20, 2016 at 03:13:22PM +0200, Christophe Gisquet wrote:
> > This is for valid bitstreams. There is no indication of limit on maximum
> > Rice code length in the XLL spec, hence existing constant is not
> > strictly "valid" (but it always worked in practice with existing
> > encoders). Reference decoder also loops indefinitely until it sees stop
> > bit here.
> OK. Out of curiosity, what are classical values there? "common" and max (128?).

Common values should be just a few bits. Maximum value seen in practice
was 64, hence the limit 128 I've picked initially (before I realized
get_unary(..., get_bits_left()) idiom is better).

More information about the ffmpeg-devel mailing list