Commit 5b115028 authored by vitor's avatar vitor

Make wavtable a table instead of an array

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b92369d6
......@@ -128,8 +128,8 @@ static void add_wav(int n, int f, int m1, int m2, int m3, const short *s1,
int b, c, i;
const short *ptr, *ptr2;
ptr = wavtable1 + n * 9;
ptr2 = wavtable2 + n * 9;
ptr = wavtable1[n];
ptr2 = wavtable2[n];
if (f)
a = (ptr[0] * m1) >> (ptr2[0] + 1);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment