[FFmpeg-soc] [soc]: r4765 - in rtmp: rtmppkt.c rtmpproto.c

kostya subversion at mplayerhq.hu
Wed Jul 22 08:22:56 CEST 2009


Author: kostya
Date: Wed Jul 22 08:22:56 2009
New Revision: 4765

Log:
Code does not call gethostname(), so don't use #define for it

Modified:
   rtmp/rtmppkt.c
   rtmp/rtmpproto.c

Modified: rtmp/rtmppkt.c
==============================================================================
--- rtmp/rtmppkt.c	Wed Jul 22 08:16:45 2009	(r4764)
+++ rtmp/rtmppkt.c	Wed Jul 22 08:22:56 2009	(r4765)
@@ -19,9 +19,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-/* needed for gethostname() */
-#define _XOPEN_SOURCE 600
-
 #include "libavcodec/bytestream.h"
 #include "libavutil/avstring.h"
 #include "avformat.h"

Modified: rtmp/rtmpproto.c
==============================================================================
--- rtmp/rtmpproto.c	Wed Jul 22 08:16:45 2009	(r4764)
+++ rtmp/rtmpproto.c	Wed Jul 22 08:22:56 2009	(r4765)
@@ -23,8 +23,6 @@
  * @file libavformat/rtmpproto.c
  * RTMP protocol
  */
-/* needed for gethostname() */
-#define _XOPEN_SOURCE 600
 
 #include <unistd.h>
 #include <stdarg.h>


More information about the FFmpeg-soc mailing list