forked from FFmpeg/FFmpeg
UDP: dont use thread_t as truth value.
Unbreak compile on mingw. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
502e858fd2
commit
e60e54ceb5
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ static int udp_read(URLContext *h, uint8_t *buf, int size)
|
||||||
fd_set rfds;
|
fd_set rfds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
if (s->circular_buffer_thread) {
|
if (s->fifo) {
|
||||||
|
|
||||||
do {
|
do {
|
||||||
avail = av_fifo_size(s->fifo);
|
avail = av_fifo_size(s->fifo);
|
||||||
|
|
Loading…
Add table
Reference in a new issue