[FFmpeg-devel] [BUG] qdm2.c over read in array

Benjamin Larsson banan
Thu Jan 10 11:07:55 CET 2008


Roberto Togni wrote:
> On Tue, 08 Jan 2008 08:10:30 +0100
> Benjamin Larsson <banan at ludd.ltu.se> wrote:
>
>   
>> Roberto Togni wrote:
>>     
>>> [...]
>>>       
>> No, but we should fix it anyway.
>>
>>     
>
> Agree, I just hoped that you had a sample to test this unknown case.
>
> Btw the same problem happens also a few lines later
> tone_level_idx_temp[ch][sb][j+1] = tmp & 0xff;
>
> The 64 in the for is ok, it comes from a 128 divided by a parameter that
> is always 2; moreover j<63 makes no sense since the next cycle reads
> all the array.
> The j+1 looks ok back to the code that I was able to inspect, to go
> deeper I need to go back to the asm level.
>
> I'll have a better look, but if I don't find a solution I'm for
> disabling this case since it's unused by any sample.
>
> Ciao,
>  Roberto
>   

Agree.

MvH
Benjamin Larsson







More information about the ffmpeg-devel mailing list