diff stream/librtsp/rtsp_rtp.c @ 28400:9202b9245819

HAVE_ATON --> HAVE_INET_ATON to match FFmpeg and give it a 0/1 value.
author diego
date Sun, 01 Feb 2009 13:33:35 +0000
parents daff903e23e2
children c884d17bd005
line wrap: on
line diff
--- a/stream/librtsp/rtsp_rtp.c	Sun Feb 01 13:16:46 2009 +0000
+++ b/stream/librtsp/rtsp_rtp.c	Sun Feb 01 13:33:35 2009 +0000
@@ -298,7 +298,7 @@
     sin.sin_addr.s_addr = htonl (INADDR_ANY);
   else
 #ifndef HAVE_WINSOCK2_H
-#ifdef HAVE_ATON
+#if HAVE_INET_ATON
     inet_aton (hostname, &sin.sin_addr);
 #else
     inet_pton (AF_INET, hostname, &sin.sin_addr);
@@ -387,7 +387,7 @@
   sin.sin_family = AF_INET;
 
 #ifndef HAVE_WINSOCK2_H
-#ifdef HAVE_ATON
+#if HAVE_INET_ATON
     inet_aton (addr, &sin.sin_addr);
 #else
     inet_pton (AF_INET, addr, &sin.sin_addr);