Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ralph Giles
Opusfile
Commits
ba2e9b74
Commit
ba2e9b74
authored
Jan 07, 2014
by
Timothy B. Terriberry
Browse files
Move a misplaced #endif.
This was meant to affect file opening only, not stream info printing.
parent
9a9825df
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/opusfile_example.c
View file @
ba2e9b74
...
...
@@ -165,6 +165,7 @@ int main(int _argc,const char **_argv){
}
#else
if
(
of
==
NULL
)
of
=
op_open_file
(
_argv
[
1
],
&
ret
);
#endif
else
{
if
(
info
.
name
!=
NULL
){
fprintf
(
stderr
,
"Station name: %s
\n
"
,
info
.
name
);
...
...
@@ -195,7 +196,6 @@ int main(int _argc,const char **_argv){
is_ssl
=
info
.
is_ssl
;
opus_server_info_clear
(
&
info
);
}
#endif
}
if
(
of
==
NULL
){
fprintf
(
stderr
,
"Failed to open file '%s': %i
\n
"
,
_argv
[
1
],
ret
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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