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

Paul B Mahol onemda at gmail.com
Wed Nov 22 18:41:20 EET 2017


On 11/22/17, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

LGTM


More information about the ffmpeg-devel mailing list