[FFmpeg-devel] [PATCH] NellyMoser audio decoder v2

Balatoni Denes dbalatoni
Sun Sep 23 21:12:45 CEST 2007


Sunday 23 September 2007 20:32-kor Lo?c Minier ezt ?rta:
>    Concerning the bitstream reader, the get_bits() function seems to
>  read bits in reverse order, so it works if I use ffmpeg's get_bits() on
>  ff_reverse[]'ed data and ff_reverse[] the result and right shift it by
>  8-n.  It kind of defeated the advantages of simplicity of reading,
>  maintainability, or performance.

You probably should #define ALT_BITSTREAM_READER_LE
before including bitstream.h - as it is done in vorbis and possibly others.


More information about the ffmpeg-devel mailing list