Browse Source

avformat/tcp: fix pointer to int warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
22fbc7f8be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tcp.c

+ 1
- 1
libavformat/tcp.c View File

@@ -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;


Loading…
Cancel
Save