aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tcp.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2005-02-24 19:08:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-02-24 19:08:50 +0000
commit88730be65153f4a59916d971842fdaed3e0fd72b (patch)
tree1f49c5812d2382abb53df216aab8cabc3c3f56b9 /libavformat/tcp.c
parent53513831da58cae7603dc01270c1cf8e4252eba0 (diff)
downloadffmpeg-88730be65153f4a59916d971842fdaed3e0fd72b.tar.gz
kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r--libavformat/tcp.c3
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;