Make tables that fit in one byte (u)int8_t

Originally committed as revision 13375 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak
2008-05-25 13:25:10 +00:00
parent cb24827f4d
commit 0a08273542
2 changed files with 6 additions and 5 deletions

View File

@@ -120,11 +120,12 @@ static int irms(const short *data, int factor)
/* multiply/add wavetable */
static void add_wav(int n, int f, int m1, int m2, int m3, const short *s1,
const short *s2, const short *s3, short *dest)
const int8_t *s2, const int8_t *s3, short *dest)
{
int a = 0;
int b, c, i;
const short *ptr, *ptr2;
const short *ptr;
const uint8_t *ptr2;
ptr = wavtable1[n];
ptr2 = wavtable2[n];