[Libav-user] Quick Question About align_get_bits()

Marcus Johnson bumblebritches57 at gmail.com
Thu Jan 15 01:59:30 CET 2015


The point of this function is to align the memory to the next byte, right?
because as far as I can tell (and I may be wrong) it doesn't work.

x & 7 isn't accurate, I've found that the proper formula for skipping x
bits (0-7) for the next byte is x * -1 % 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150114/304e723a/attachment.html>


More information about the Libav-user mailing list