[FFmpeg-devel] [PATCH]Basic XSUB encoder (take 3)

Michael Niedermayer michaelni
Thu Feb 5 15:19:48 CET 2009

On Thu, Feb 05, 2009 at 09:33:48AM +0100, Reimar D?ffinger wrote:
> I was also wondering (in case anyone else is reading this), how about a
> put_bits_free function that returns how many bits still fit into the
> given context?

i am in favor of adding a size_in_bits field like in getbits
then pb->size_in_bits - put_bits_count(&pb) will give you the remaining


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.
-------------- 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/20090205/118d159c/attachment.pgp>

More information about the ffmpeg-devel mailing list