[FFmpeg-devel] [PATCH 08/12] WMA: use a table instead of pow() in decode_exp_vlc

Måns Rullgård mans
Mon Sep 28 00:51:38 CEST 2009


Michael Niedermayer <michaelni at gmx.at> writes:

> On Sun, Sep 27, 2009 at 11:49:24AM +0100, Mans Rullgard wrote:
>> FIXME: is the table big enough
>
> if any file can read outside it then no ...
>
>> ---
>>  libavcodec/wmadec.c |   26 +++++++++++++++++++++-----
>>  1 files changed, 21 insertions(+), 5 deletions(-)
>
> ok assuming above FIXME is dealt with and assuming we dont have a
> matching table yet

I already posted a patch with a larger table sized according to
comments from Rockbox.  It still might need a check though.  I haven't
analysed the possible values carefully.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list