UDP: dont use thread_t as truth value.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 14 May 2011 11:34:08 +0000 (13:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 May 2011 11:34:08 +0000 (13:34 +0200)
Unbreak compile on mingw.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/udp.c

index de5c332..c5f16ae 100644 (file)
@@ -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);