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

Michael Niedermayer michaelni
Sun Apr 12 20:29:43 CEST 2009

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090412/1c309390/attachment.pgp>

More information about the ffmpeg-devel mailing list