summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-11-22 15:28:40 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-11-23 14:20:32 +0000
commitcce33ed10fdceda7e634ed8b01cf616d34505924 (patch)
treec860bd110a86430b1fe2d10fd37cb1273a78f6f6 /libavformat/udp.c
parent8b62647a5fea94fd5fede91f8371e983e1bda40c (diff)
downloadffmpeg-cce33ed10fdceda7e634ed8b01cf616d34505924.tar.gz
Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined"
This was an mplayer-specific hack. This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 3835f989c4..0dde0353fb 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -64,10 +64,6 @@
#include <pthread.h>
#endif
-#ifndef HAVE_PTHREAD_CANCEL
-#define HAVE_PTHREAD_CANCEL 0
-#endif
-
#ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP