[FFmpeg-devel] [RFC] pointless assignment in show_bits_long ?

Michael Niedermayer michaelni
Mon Mar 2 20:06:51 CET 2009

On Mon, Mar 02, 2009 at 07:34:31PM +0100, Reimar D?ffinger wrote:
> Hello,
> show_bits_long currently makes a "backup" of the GetBitContext, calls
> get_bits_long and then restores the backup.
> Am I missing something or would it be more efficient to just use
> get_bits_long on the backup instead?

you are missing that the int ret is useless too

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- 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/20090302/b8cbf99c/attachment.pgp>

More information about the ffmpeg-devel mailing list