aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-16 12:31:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-16 12:31:15 +0200
commite1ec7990fe25081614cc7c366e1f821c8a2e7a77 (patch)
treebf36e22a16bb5896bfd5a29080e8eb0dd46f4723
parent165e42b5428fd0b1dbf0039e5b8555e5cce08aa9 (diff)
parent4b054a3400f728c54470ee6a1eefe1d82420f6a2 (diff)
downloadffmpeg-e1ec7990fe25081614cc7c366e1f821c8a2e7a77.tar.gz
Merge commit '4b054a3400f728c54470ee6a1eefe1d82420f6a2'
* commit '4b054a3400f728c54470ee6a1eefe1d82420f6a2': rtpproto: Check the right feature detection macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/rtpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 64182dd40a..bf9c60d999 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -118,7 +118,7 @@ static int compare_addr(const struct sockaddr_storage *a,
((const struct sockaddr_in *)b)->sin_addr.s_addr);
}
-#if defined(IPPROTO_IPV6)
+#if HAVE_STRUCT_SOCKADDR_IN6
if (a->ss_family == AF_INET6) {
const uint8_t *s6_addr_a = ((const struct sockaddr_in6 *)a)->sin6_addr.s6_addr;
const uint8_t *s6_addr_b = ((const struct sockaddr_in6 *)b)->sin6_addr.s6_addr;