[FFmpeg-devel] [PATCH 1/3] Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined"

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Nov 22 17:28:40 EET 2017


This was an mplayer-specific hack.

This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e.
---
Near as I can tell, this is a hack added to deal with the fact that the
terrible mplayer build system cannibalized FFmpeg's, and failed at it.

There's no reason this should be in FFmpeg, if that is the case
---
 libavformat/udp.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index 3835f98..0dde035 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
-- 
1.8.3.1



More information about the ffmpeg-devel mailing list