[Ffmpeg-devel] [PATCH] Little endian bitreader and vlc reader
François Revol
revol
Tue May 10 21:38:40 CEST 2005
> Balatoni Denes <dbalatoni at programozo.hu> writes:
>
> > Hi!
> >
> > 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.
>
SayBro
Yeah, as in CaliforniaCoding
CheckItOut
http://www.fiction.net/tidbits/computer/kewl_code.html
Fran?ois.
More information about the ffmpeg-devel
mailing list