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
d0de7330
Commit
d0de7330
authored
Jul 23, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fft-test: Pass correct struct members to (i)dct functions
This fixes a number of incompatible pointer type warnings.
parent
6133d658
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fft-test.c
libavcodec/fft-test.c
+3
-3
No files found.
libavcodec/fft-test.c
View file @
d0de7330
...
...
@@ -420,11 +420,11 @@ int main(int argc, char **argv)
#if CONFIG_DCT
case
TRANSFORM_DCT
:
memcpy
(
tab
,
tab1
,
fft_size
*
sizeof
(
FFTComplex
));
d
.
dct_calc
(
&
d
,
tab
);
d
.
dct_calc
(
&
d
,
&
tab
->
re
);
if
(
do_inverse
)
idct_ref
(
tab_ref
,
tab1
,
fft_nbits
);
idct_ref
(
&
tab_ref
->
re
,
&
tab1
->
re
,
fft_nbits
);
else
dct_ref
(
tab_ref
,
tab1
,
fft_nbits
);
dct_ref
(
&
tab_ref
->
re
,
&
tab1
->
re
,
fft_nbits
);
err
=
check_diff
((
float
*
)
tab_ref
,
(
float
*
)
tab
,
fft_size
,
1
.
0
);
break
;
#endif
/* CONFIG_DCT */
...
...
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