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
ef5e7fb2
Commit
ef5e7fb2
authored
Jan 13, 2010
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove needless use of log2f()
Originally committed as revision 21185 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1c3c129b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sipr.c
libavcodec/sipr.c
+2
-1
No files found.
libavcodec/sipr.c
View file @
ef5e7fb2
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <math.h>
#include <math.h>
#include <stdint.h>
#include <stdint.h>
#include "libavutil/mathematics.h"
#include "avcodec.h"
#include "avcodec.h"
#define ALT_BITSTREAM_READER_LE
#define ALT_BITSTREAM_READER_LE
#include "get_bits.h"
#include "get_bits.h"
...
@@ -463,7 +464,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
...
@@ -463,7 +464,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
gain_code
=
ff_amr_set_fixed_gain
(
gain_cb
[
params
->
gc_index
[
i
]][
1
],
gain_code
=
ff_amr_set_fixed_gain
(
gain_cb
[
params
->
gc_index
[
i
]][
1
],
avg_energy
,
ctx
->
energy_history
,
avg_energy
,
ctx
->
energy_history
,
34
-
15
.
0
/
(
log2f
(
10
.
0
)
*
0
.
05
),
34
-
15
.
0
/
(
0
.
05
*
M_LN10
/
M_LN2
),
pred
);
pred
);
ff_weighted_vector_sumf
(
excitation
,
excitation
,
fixed_vector
,
ff_weighted_vector_sumf
(
excitation
,
excitation
,
fixed_vector
,
...
...
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