Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d1c74ca2
Commit
d1c74ca2
authored
Jun 27, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lsp: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b1a17953
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lsp.c
libavcodec/lsp.c
+2
-1
No files found.
libavcodec/lsp.c
View file @
d1c74ca2
...
...
@@ -29,6 +29,7 @@
#include "lsp.h"
#include "celp_math.h"
#include "libavcodec/mips/lsp_mips.h"
#include "libavutil/avassert.h"
void
ff_acelp_reorder_lsf
(
int16_t
*
lsfq
,
int
lsfq_min_distance
,
int
lsfq_min
,
int
lsfq_max
,
int
lp_order
)
...
...
@@ -188,7 +189,7 @@ void ff_acelp_lspd2lpc(const double *lsp, float *lpc, int lp_half_order)
double
pa
[
MAX_LP_HALF_ORDER
+
1
],
qa
[
MAX_LP_HALF_ORDER
+
1
];
float
*
lpc2
=
lpc
+
(
lp_half_order
<<
1
)
-
1
;
a
ssert
(
lp_half_order
<=
MAX_LP_HALF_ORDER
);
a
v_assert2
(
lp_half_order
<=
MAX_LP_HALF_ORDER
);
ff_lsp2polyf
(
lsp
,
pa
,
lp_half_order
);
ff_lsp2polyf
(
lsp
+
1
,
qa
,
lp_half_order
);
...
...
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