Re: [FFmpeg-devel] [PATCH 2/3] avformat/udp: Use avutil compat pthread_cond_timedwait.

2016-12-11 Thread Matt Oliver
On 11 December 2016 at 00:21, Carl Eugen Hoyos wrote: > 2016-12-07 7:04 GMT+01:00 Matt Oliver : > > > -#if HAVE_PTHREAD_CANCEL > > -#include > > -#endif > > - > > > #ifndef HAVE_PTHREAD_CANCEL > > #define HAVE_PTHREAD_CANCEL 0 > > #endif > I have no idea why that line is there as configure s

Re: [FFmpeg-devel] [PATCH 2/3] avformat/udp: Use avutil compat pthread_cond_timedwait.

2016-12-10 Thread Carl Eugen Hoyos
2016-12-07 7:04 GMT+01:00 Matt Oliver : > -#if HAVE_PTHREAD_CANCEL > -#include > -#endif > - > #ifndef HAVE_PTHREAD_CANCEL > #define HAVE_PTHREAD_CANCEL 0 > #endif Do you know what this block is supposed to do? If you remove it first, the diff gets much smaller... Carl Eugen ___

[FFmpeg-devel] [PATCH 2/3] avformat/udp: Use avutil compat pthread_cond_timedwait.

2016-12-06 Thread Matt Oliver
Signed-off-by: Matt Oliver --- libavformat/udp.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 3835f98..f8c861d 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -60,14 +60,14 @@ #define IPPROTO_UDPLITE