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
c3b6efa4
Commit
c3b6efa4
authored
Jun 06, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sinewin_tablegen: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
62eace23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sinewin_tablegen.h
libavcodec/sinewin_tablegen.h
+2
-2
No files found.
libavcodec/sinewin_tablegen.h
View file @
c3b6efa4
...
...
@@ -23,11 +23,11 @@
#ifndef AVCODEC_SINEWIN_TABLEGEN_H
#define AVCODEC_SINEWIN_TABLEGEN_H
#include <assert.h>
// do not use libavutil/libm.h since this is compiled both
// for the host and the target and config.h is only valid for the target
#include <math.h>
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#if !CONFIG_HARDCODED_TABLES
SINETABLE
(
32
);
...
...
@@ -57,7 +57,7 @@ av_cold void ff_sine_window_init(float *window, int n) {
}
av_cold
void
ff_init_ff_sine_windows
(
int
index
)
{
a
ssert
(
index
>=
0
&&
index
<
FF_ARRAY_ELEMS
(
ff_sine_windows
));
a
v_assert0
(
index
>=
0
&&
index
<
FF_ARRAY_ELEMS
(
ff_sine_windows
));
#if !CONFIG_HARDCODED_TABLES
ff_sine_window_init
(
ff_sine_windows
[
index
],
1
<<
index
);
#endif
...
...
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