mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d1845b4c84
commit
d548f09ff6
@ -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);
|
||||
|
1028
libavcodec/ra144.h
1028
libavcodec/ra144.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user