diff options
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 8ec84ec4b6..33702e0ec0 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -57,8 +57,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) struct sockaddr_in dest_addr; char hostname[1024], *q; int port, fd = -1; - TCPContext *s; - const char *p; + TCPContext *s = NULL; fd_set wfds; int fd_max, ret; struct timeval tv; |