From e60e54ceb55ae81f071a0f36cc87a39488047fd1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 14 May 2011 13:34:08 +0200 Subject: [PATCH] UDP: dont use thread_t as truth value. Unbreak compile on mingw. Signed-off-by: Michael Niedermayer --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index de5c33278e..c5f16aed02 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -534,7 +534,7 @@ static int udp_read(URLContext *h, uint8_t *buf, int size) fd_set rfds; struct timeval tv; - if (s->circular_buffer_thread) { + if (s->fifo) { do { avail = av_fifo_size(s->fifo);