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
Xiph.Org
Vorbis tools
Commits
0e92ba7f
Commit
0e92ba7f
authored
Jul 02, 2002
by
Michael Smith
Browse files
-o was broken in previous commit.
svn path=/trunk/vorbis-tools/; revision=3484
parent
23937f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
oggdec/oggdec.c
View file @
0e92ba7f
...
...
@@ -68,7 +68,7 @@ static void parse_options(int argc, char **argv)
int
option_index
=
1
;
int
ret
;
while
((
ret
=
getopt_long
(
argc
,
argv
,
"Qhvb:e:r:s:"
,
while
((
ret
=
getopt_long
(
argc
,
argv
,
"Qhvb:e:r:s:
o:
"
,
long_options
,
&
option_index
))
!=
-
1
)
{
switch
(
ret
)
...
...
@@ -299,12 +299,6 @@ int main(int argc, char **argv)
return
1
;
}
if
((
argc
-
optind
)
%
2
!=
0
)
{
fprintf
(
stderr
,
"ERROR: Not enough output files specified. See usage (below) for details.
\n
"
);
usage
();
return
1
;
}
if
(
argc
-
optind
>
1
&&
outfilename
)
{
fprintf
(
stderr
,
"ERROR: Can only specify one input file if output filename is specified
\n
"
);
return
1
;
...
...
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