diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-25 19:44:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-25 19:44:40 +0200 |
commit | 22fbc7f8becdee1fd6ab7cac93ae23d6022e9a56 (patch) | |
tree | 309c84b6895eac743374a74925cbaba67e08204c /libavformat/tcp.c | |
parent | 59360cd456dd038fb28134aff5d9b56302fff488 (diff) | |
download | ffmpeg-22fbc7f8becdee1fd6ab7cac93ae23d6022e9a56.tar.gz |
avformat/tcp: fix pointer to int warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 36af37a94a..634d99d0d0 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -127,7 +127,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) } } else { if ((ret = ff_listen_connect(fd, cur_ai->ai_addr, cur_ai->ai_addrlen, - s->open_timeout / 1000, h, cur_ai->ai_next)) < 0) { + s->open_timeout / 1000, h, !!cur_ai->ai_next)) < 0) { if (ret == AVERROR_EXIT) goto fail1; |