Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3890a131
Commit
3890a131
authored
Jun 23, 2008
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename var
Originally committed as revision 13916 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d5d3536d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ra144.c
libavcodec/ra144.c
+3
-3
No files found.
libavcodec/ra144.c
View file @
3890a131
...
...
@@ -136,10 +136,10 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1,
dest
[
i
]
=
((
*
(
s1
++
))
*
v
[
0
]
+
(
*
(
s2
++
))
*
v
[
1
]
+
(
*
(
s3
++
))
*
v
[
2
])
>>
12
;
}
static
void
lpc_filter
(
const
int16_t
*
lpc_coefs
,
uint16_t
*
statbuf
,
int
len
)
static
void
lpc_filter
(
const
int16_t
*
lpc_coefs
,
uint16_t
*
in
,
int
len
)
{
int
x
,
i
;
int16_t
*
ptr
=
statbuf
;
int16_t
*
ptr
=
in
;
for
(
i
=
0
;
i
<
len
;
i
++
)
{
int
sum
=
0
;
...
...
@@ -153,7 +153,7 @@ static void lpc_filter(const int16_t *lpc_coefs, uint16_t *statbuf, int len)
new_val
=
ptr
[
10
]
-
sum
;
if
(
new_val
<
-
32768
||
new_val
>
32767
)
{
memset
(
statbuf
,
0
,
100
);
memset
(
in
,
0
,
100
);
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment