[FFmpeg-cvslog] UDP: dont use thread_t as truth value.
Michael Niedermayer
git at videolan.org
Sat May 14 13:40:54 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 14 13:34:08 2011 +0200| [e60e54ceb55ae81f071a0f36cc87a39488047fd1] | committer: Michael Niedermayer
UDP: dont use thread_t as truth value.
Unbreak compile on mingw.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e60e54ceb55ae81f071a0f36cc87a39488047fd1
---
libavformat/udp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/udp.c b/libavformat/udp.c
index de5c332..c5f16ae 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);
More information about the ffmpeg-cvslog
mailing list