[FFmpeg-devel] [PATCH] NellyMoser audio decoder

Reimar Döffinger Reimar.Doeffinger
Tue Sep 11 13:49:46 CEST 2007

On Tue, Sep 11, 2007 at 12:13:34PM +0200, Lo?c Minier wrote:
>  Please find attached a NellyMoser decoder for ffmpeg.  It uses code
>  downloaded from:
>     <http://code.google.com/p/nelly2pcm/downloads/list>
>  (this is where the funny copyrights come from)

Hmm.. public key hashes maybe?

>  Comments are of course welcome.  I tested the decoder against 8kHz,
>  11kHz, and 22kHz samples via ffplay and also via libavcodec.

Indentation must be four spaces and tabs are not allowed, and global
symbols like the tables must have an ff_ prefix (though honestly I don't
see any point in having the tables in a separate file).
Also you can't have values like 31355 in an array of shorts, either it
must be uint16_t (or if you insist unsigned short) or int, or they
should be written as the right signed values if they are used as signed.
The custom get_bits should be replaced by ffmpeg's bitstream functions
as well.

Reimar D?ffinger

More information about the ffmpeg-devel mailing list