From ba2e9b7458a955713f50f331d6cd7c4baf5ee77e Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" <tterribe@xiph.org> Date: Tue, 7 Jan 2014 16:09:27 -0800 Subject: [PATCH] Move a misplaced #endif. This was meant to affect file opening only, not stream info printing. --- examples/opusfile_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/opusfile_example.c b/examples/opusfile_example.c index 342b6ae..b44395a 100644 --- a/examples/opusfile_example.c +++ b/examples/opusfile_example.c @@ -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); -- GitLab