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
09addb11
Commit
09addb11
authored
Jun 23, 2008
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
Originally committed as revision 13932 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f1936f61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ra144.c
libavcodec/ra144.c
+1
-2
No files found.
libavcodec/ra144.c
View file @
09addb11
...
@@ -183,7 +183,7 @@ static unsigned int rms(const int *data)
...
@@ -183,7 +183,7 @@ static unsigned int rms(const int *data)
int
b
=
0
;
int
b
=
0
;
for
(
x
=
0
;
x
<
10
;
x
++
)
{
for
(
x
=
0
;
x
<
10
;
x
++
)
{
res
=
(((
0x1000000
-
(
*
data
)
*
(
*
data
)
)
>>
12
)
*
res
)
>>
12
;
res
=
(((
0x1000000
-
data
[
x
]
*
data
[
x
]
)
>>
12
)
*
res
)
>>
12
;
if
(
res
==
0
)
if
(
res
==
0
)
return
0
;
return
0
;
...
@@ -192,7 +192,6 @@ static unsigned int rms(const int *data)
...
@@ -192,7 +192,6 @@ static unsigned int rms(const int *data)
b
++
;
b
++
;
res
<<=
2
;
res
<<=
2
;
}
}
data
++
;
}
}
res
=
t_sqrt
(
res
);
res
=
t_sqrt
(
res
);
...
...
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