Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
9c18548a
Commit
9c18548a
authored
Jan 13, 2001
by
Josh Coalson
Browse files
disallow --skip in test mode
parent
8a0ab31f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/flac/main.c
View file @
9c18548a
...
...
@@ -196,7 +196,11 @@ int main(int argc, char *argv[])
}
}
else
{
if
(
!
test_only
)
{
if
(
test_only
)
{
if
(
skip
>
0
)
return
usage
(
"ERROR: --skip is not allowed in test mode
\n
"
);
}
else
{
if
(
format_is_wave
<
0
)
{
if
(
strstr
(
argv
[
i
+
1
],
".wav"
)
==
argv
[
i
+
1
]
+
(
strlen
(
argv
[
i
+
1
])
-
strlen
(
".wav"
)))
format_is_wave
=
true
;
...
...
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