[FFmpeg-devel] [PATCH] RealAudio SIPR @16k decoder (2/4) Tables

Michael Niedermayer michaelni
Sun Jul 13 02:10:36 CEST 2008


On Sat, Jul 12, 2008 at 02:16:33PM +0700, Vladimir Voroshilov wrote:
> Hi, All
> 
> Here is first draft version of fixed-point RealAudio sipr decoder
> (only 16kHz mode)
> 
> This patch contains lookup tables.
[...]
> +static const int16_t weight_pow[17] =
> +{  32768, 16384, 8192, 4096, 2048, 1024, 512, 256,
> +     128,    64,   32,   16,    8,    4,   2,   1,
> +       0
> +};

32768 is not a int16_t

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080713/0804eec5/attachment.pgp>



More information about the ffmpeg-devel mailing list