Commit 22fbc7f8 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/tcp: fix pointer to int warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 59360cd4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment