[Ffmpeg-devel] [PATCH] Little endian bitreader and vlc reader
Wed May 11 19:14:48 CEST 2005
On Tue, 2005-05-10 at 21:27 +0200, M?ns Rullg?rd wrote:
> > 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
> > though).
> > 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.
Can you please give an example?
More information about the ffmpeg-devel