[FFmpeg-devel] [PATCH] Fix put_bits()?

Stefano Sabatini stefano.sabatini-lala
Sun Apr 12 21:09:32 CEST 2009


On date Sunday 2009-04-12 20:29:43 +0200, Michael Niedermayer encoded:
> On Sun, Apr 12, 2009 at 08:19:30PM +0200, Stefano Sabatini wrote:
> > Hi, the attached patch set in bit_buf the remaining part of the value
> > put in the bitstream, according to the scheme:
> > 
> >             value
> > +-------------+----------------+
> > | bit_left    |  n-bit_left    |
> > +-------------+----------------+
> > 
> > so it sets (1<<(n-bit_left)-1)&value in bit_buf.
> > 
> > make test is still successfull, so the bug, if it is indeed a bug,
> > isn't raised by the current test code.
> 
> nothing fixed & slower -> waste of time

Got it.
-- 
FFmpeg = Fundamental & Frenzy Martial Puristic Elitist Game



More information about the ffmpeg-devel mailing list