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
8ea543b5
Commit
8ea543b5
authored
Jul 14, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
Originally committed as revision 5750 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c90c3919
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
flacenc.c
libavcodec/flacenc.c
+2
-2
No files found.
libavcodec/flacenc.c
View file @
8ea543b5
...
...
@@ -749,7 +749,7 @@ static int lpc_calc_coefs(const int32_t *samples, int blocksize, int max_order,
double
var
[
MAX_LPC_ORDER
+
1
],
eval
;
for
(
pass
=
0
;
pass
<
use_lpc
-
1
;
pass
++
){
av_init_lls
(
&
m
[
pass
&
1
],
max_order
/*3*/
);
av_init_lls
(
&
m
[
pass
&
1
],
max_order
);
for
(
i
=
max_order
;
i
<
blocksize
;
i
++
){
for
(
j
=
0
;
j
<=
max_order
;
j
++
)
...
...
@@ -759,7 +759,7 @@ static int lpc_calc_coefs(const int32_t *samples, int blocksize, int max_order,
eval
=
av_evaluate_lls
(
&
m
[(
pass
-
1
)
&
1
],
var
+
1
);
eval
=
(
512
>>
pass
)
+
fabs
(
eval
-
var
[
0
]);
for
(
j
=
0
;
j
<=
max_order
;
j
++
)
var
[
j
]
=
samples
[
i
-
j
]
/
sqrt
(
eval
);
var
[
j
]
/=
sqrt
(
eval
);
}
av_update_lls
(
&
m
[
pass
&
1
],
var
,
1
.
0
);
...
...
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