Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
60efd137
Commit
60efd137
authored
Sep 13, 2002
by
Josh Coalson
Browse files
minor tweaks
parent
0eb674cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
60efd137
...
...
@@ -205,7 +205,7 @@ AC_DEFINE(FLAC__USE_3DNOW)
fi
AC_ARG_ENABLE(exhaustive-tests,
[ --enable-exhaustive-tests Enable exhaustive testing
(
"make check" will take a LONG time!
)
],
[ --enable-exhaustive-tests Enable exhaustive testing
.
"make check" will take a LONG time!],
[case "${enableval}" in
yes) exhaustive_tests=true ;;
no) exhaustive_tests=false ;;
...
...
src/metaflac/main.c
View file @
60efd137
...
...
@@ -1056,29 +1056,29 @@ char *local_strdup(const char *source)
FLAC__bool
parse_md5
(
const
char
*
src
,
FLAC__byte
dest
[
16
])
{
unsigned
i
,
d
;
char
c
;
int
c
;
FLAC__ASSERT
(
0
!=
src
);
if
(
strlen
(
src
)
!=
32
)
return
false
;
/* strtoul() accepts negative numbers which we do not want, so we do it the hard way */
for
(
i
=
0
;
i
<
16
;
i
++
)
{
c
=
*
src
++
;
c
=
(
int
)(
*
src
++
)
;
if
(
isdigit
(
c
))
d
=
(
unsigned
)
c
-
(
unsigned
)
'0'
;
d
=
(
unsigned
)
(
c
-
'0'
)
;
else
if
(
c
>=
'a'
&&
c
<=
'f'
)
d
=
(
unsigned
)
c
-
(
unsigned
)
'a'
+
10u
;
d
=
(
unsigned
)
(
c
-
'a'
)
+
10u
;
else
if
(
c
>=
'A'
&&
c
<=
'F'
)
d
=
(
unsigned
)
c
-
(
unsigned
)
'A'
+
10u
;
d
=
(
unsigned
)
(
c
-
'A'
)
+
10u
;
else
return
false
;
d
<<=
4
;
c
=
*
src
++
;
c
=
(
int
)(
*
src
++
)
;
if
(
isdigit
(
c
))
d
|=
(
unsigned
)
c
-
(
unsigned
)
'0'
;
d
|=
(
unsigned
)
(
c
-
'0'
)
;
else
if
(
c
>=
'a'
&&
c
<=
'f'
)
d
|=
(
unsigned
)
c
-
(
unsigned
)
'a'
+
10u
;
d
|=
(
unsigned
)
(
c
-
'a'
)
+
10u
;
else
if
(
c
>=
'A'
&&
c
<=
'F'
)
d
|=
(
unsigned
)
c
-
(
unsigned
)
'A'
+
10u
;
d
|=
(
unsigned
)
(
c
-
'A'
)
+
10u
;
else
return
false
;
dest
[
i
]
=
(
FLAC__byte
)
d
;
...
...
Write
Preview
Supports
Markdown
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