Mercurial > libavcodec.hg
diff ra144.c @ 6864:0bc0fc5ea88a libavcodec
Make tables that fit in one byte (u)int8_t
author | vitor |
---|---|
date | Sun, 25 May 2008 13:25:10 +0000 |
parents | fda46beb5284 |
children | 2ed146e1ff55 |
line wrap: on
line diff
--- a/ra144.c Sun May 25 13:23:27 2008 +0000 +++ b/ra144.c Sun May 25 13:25:10 2008 +0000 @@ -120,11 +120,12 @@ /* 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];