summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-14 13:34:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-14 13:34:08 +0200
commite60e54ceb55ae81f071a0f36cc87a39488047fd1 (patch)
treecaa759da2e39d1ecc10e9d1b45e3f457fdf81fa4 /libavformat/udp.c
parent502e858fd2cae24d5090acd5c79619b93756baa3 (diff)
UDP: dont use thread_t as truth value.
Unbreak compile on mingw. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c2
1 files changed, 1 insertions, 1 deletions
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);