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
183c3fa4
Commit
183c3fa4
authored
Apr 02, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
des: Fix half a dozen warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
26635408
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
des.c
libavutil/des.c
+4
-4
No files found.
libavutil/des.c
View file @
183c3fa4
...
@@ -417,10 +417,10 @@ int main(void) {
...
@@ -417,10 +417,10 @@ int main(void) {
for
(
i
=
0
;
i
<
1000
;
i
++
)
{
for
(
i
=
0
;
i
<
1000
;
i
++
)
{
key
[
0
]
=
rand64
();
key
[
1
]
=
rand64
();
key
[
2
]
=
rand64
();
key
[
0
]
=
rand64
();
key
[
1
]
=
rand64
();
key
[
2
]
=
rand64
();
data
=
rand64
();
data
=
rand64
();
av_des_init
(
&
d
,
key
,
192
,
0
);
av_des_init
(
&
d
,
(
uint8_t
*
)
key
,
192
,
0
);
av_des_crypt
(
&
d
,
&
ct
,
&
data
,
1
,
NULL
,
0
);
av_des_crypt
(
&
d
,
(
uint8_t
*
)
&
ct
,
(
uint8_t
*
)
&
data
,
1
,
NULL
,
0
);
av_des_init
(
&
d
,
key
,
192
,
1
);
av_des_init
(
&
d
,
(
uint8_t
*
)
key
,
192
,
1
);
av_des_crypt
(
&
d
,
&
ct
,
&
ct
,
1
,
NULL
,
1
);
av_des_crypt
(
&
d
,
(
uint8_t
*
)
&
ct
,
(
uint8_t
*
)
&
ct
,
1
,
NULL
,
1
);
if
(
ct
!=
data
)
{
if
(
ct
!=
data
)
{
printf
(
"Test 2 failed
\n
"
);
printf
(
"Test 2 failed
\n
"
);
return
1
;
return
1
;
...
...
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