Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
4dddc5e1
Commit
4dddc5e1
authored
Jul 02, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kill warnings
Originally committed as revision 5585 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fb9cc9e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
libavutil/md5.c
libavutil/md5.c
+5
-5
libavutil/md5.h
libavutil/md5.h
+1
-1
No files found.
libavutil/md5.c
View file @
4dddc5e1
...
@@ -62,15 +62,15 @@ static const uint32_t T[64] = {
...
@@ -62,15 +62,15 @@ static const uint32_t T[64] = {
a += T[i];\
a += T[i];\
\
\
switch(i>>4){\
switch(i>>4){\
case 0: a += (d ^ b&(c^d)) + X[ i &15 ]; break;\
case 0: a += (d ^
(
b&(c^d))
)
+ X[ i &15 ]; break;\
case 1: a += (c ^ d&(c^b)) + X[ (1+5*i)&15 ]; break;\
case 1: a += (c ^
(
d&(c^b))
)
+ X[ (1+5*i)&15 ]; break;\
case 2: a += (b^c^d) + X[ (5+3*i)&15 ]; break;\
case 2: a += (b^c^d)
+ X[ (5+3*i)&15 ]; break;\
case 3: a += (c^(b|~d)) + X[ ( 7*i)&15 ]; break;\
case 3: a += (c^(b|~d))
+ X[ ( 7*i)&15 ]; break;\
}\
}\
a = b + (( a << t ) | ( a >> (32 - t) ));
a = b + (( a << t ) | ( a >> (32 - t) ));
static
void
body
(
uint32_t
ABCD
[
4
],
const
uint32_t
X
[
16
]){
static
void
body
(
uint32_t
ABCD
[
4
],
const
uint32_t
X
[
16
]){
int
i
,
t
;
int
t
;
unsigned
int
a
=
ABCD
[
3
];
unsigned
int
a
=
ABCD
[
3
];
unsigned
int
b
=
ABCD
[
2
];
unsigned
int
b
=
ABCD
[
2
];
unsigned
int
c
=
ABCD
[
1
];
unsigned
int
c
=
ABCD
[
1
];
...
...
libavutil/md5.h
View file @
4dddc5e1
#ifndef MD5_H
#ifndef MD5_H
#define MD5_H
#define MD5_H
extern
const
av_md5_size
;
extern
const
int
av_md5_size
;
struct
AVMD5
;
struct
AVMD5
;
...
...
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