[Ffmpeg-devel] [PATCH] Little endian bitreader and vlc reader

Martin Boehme boehme
Wed May 11 09:10:27 CEST 2005

M?ns Rullg?rd wrote:
> Balatoni Denes <dbalatoni at programozo.hu> writes:
>>Sorry to interrupt the discussion about dynamic linking, how we like to 
>>conduct sending and getting  email, ANSI C and 1 pass encoding that 
>>adaptively selects the number of encoding passes to use (smart feature 
>>This patch adds little endian (LSB first) bitreader and vlc reader to 
>>libavcodec. Vorbis will need these, and also at least one other codec in lavc 
>>(id cin iirc). There is some code duplication (most of the patch is the 
>>duplicate of existing code), but there are no code templates in the C 
>>language AFAIK, and introducing #defines, or introducing a third level of 
>>#defines, to emulate templates seemed very ugly.
> #defines are not ugly at all.  Properly used, they can be quite elegant.

Oh no... now, in addition to PIC, reply-to, and NULL in ANSI C, we're 
going to head off on a discussion of to-#define-or-not-to-#define... ;-)


Martin B?hme
Inst. f. Neuro- and Bioinformatics
Ratzeburger Allee 160, D-23538 Luebeck
Phone: +49 451 500 5514
Fax:   +49 451 500 5502
boehme at inb.uni-luebeck.de

More information about the ffmpeg-devel mailing list