shithub: aacenc

Download patch

ref: 544c66fe1a1745f06c60635dc047e5ca3e937cb5
parent: fc7feec33dde58ae9aade966a3fca6cf5aee4431
author: danchr <danchr>
date: Fri Apr 16 10:51:10 EDT 2004

don't use stderr on Windows

--- a/frontend/main.c
+++ b/frontend/main.c
@@ -18,7 +18,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: main.c,v 1.67 2004/04/16 09:49:10 danchr Exp $
+ * $Id: main.c,v 1.68 2004/04/16 14:51:10 danchr Exp $
  */
 
 #ifdef _MSC_VER
@@ -65,6 +65,11 @@
 # define strcasecmp strcmp
 #endif
 
+#ifdef _WIN32
+# undef stderr
+# define stderr stdout
+#endif
+
 #include "input.h"
 
 #include <faac.h>
@@ -1122,6 +1127,9 @@
 
 /*
 $Log: main.c,v $
+Revision 1.68  2004/04/16 14:51:10  danchr
+don't use stderr on Windows
+
 Revision 1.67  2004/04/16 09:49:10  danchr
 change -a <kbps/channel> to -b <kbps>
 Darwin portability fixes