shithub: opusfile

Download patch

ref: ba2e9b7458a955713f50f331d6cd7c4baf5ee77e
parent: 9a9825df0319138fe845cbb19c250b642965c4b1
author: Timothy B. Terriberry <[email protected]>
date: Tue Jan 7 11:09:27 EST 2014

Move a misplaced #endif.

This was meant to affect file opening only, not stream info
 printing.

--- a/examples/opusfile_example.c
+++ b/examples/opusfile_example.c
@@ -165,6 +165,7 @@
     }
 #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 @@
       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);