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
60e0ee7c
Commit
60e0ee7c
authored
Nov 12, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lpc: always initialize ref and err
CC: libav-stable@libav.org Bug-Id: CID 29585 / CID 700759
parent
3a6ddfb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lpc.c
libavcodec/lpc.c
+1
-1
lpc.h
libavcodec/lpc.h
+1
-1
No files found.
libavcodec/lpc.c
View file @
60e0ee7c
...
...
@@ -174,7 +174,7 @@ int ff_lpc_calc_coefs(LPCContext *s,
int
omethod
,
int
max_shift
,
int
zero_shift
)
{
double
autoc
[
MAX_LPC_ORDER
+
1
];
double
ref
[
MAX_LPC_ORDER
];
double
ref
[
MAX_LPC_ORDER
]
=
{
0
}
;
double
lpc
[
MAX_LPC_ORDER
][
MAX_LPC_ORDER
];
int
i
,
j
,
pass
=
0
;
int
opt_order
;
...
...
libavcodec/lpc.h
View file @
60e0ee7c
...
...
@@ -152,7 +152,7 @@ static inline int compute_lpc_coefs(const LPC_TYPE *autoc, int max_order,
int
normalize
)
{
int
i
,
j
;
LPC_TYPE
err
;
LPC_TYPE
err
=
{
0
}
;
LPC_TYPE
*
lpc_last
=
lpc
;
if
(
normalize
)
...
...
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