This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak
17 years ago
parent
d1845b4c84
commit
d548f09ff6
2 changed files
with
516 additions
and
516 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavcodec/ra144.c
+514
-514
libavcodec/ra144.h
+ 2
- 2
libavcodec/ra144.c
View File
@@ -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;
int b, c, i;
const short *ptr, *ptr2;
const short *ptr, *ptr2;
ptr = wavtable1
+ n * 9
;
ptr2 = wavtable2
+ n * 9
;
ptr = wavtable1
[n]
;
ptr2 = wavtable2
[n]
;
if (f)
if (f)
a = (ptr[0] * m1) >> (ptr2[0] + 1);
a = (ptr[0] * m1) >> (ptr2[0] + 1);
+ 514
- 514
libavcodec/ra144.h
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save