UDP: dont use thread_t as truth value.

Unbreak compile on mingw.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 14 years ago
parent 502e858fd2
commit e60e54ceb5
  1. 2
      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);

Loading…
Cancel
Save