diff options
author | Måns Rullgård <mans@mansr.com> | 2005-02-24 19:08:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-24 19:08:50 +0000 |
commit | 88730be65153f4a59916d971842fdaed3e0fd72b (patch) | |
tree | 1f49c5812d2382abb53df216aab8cabc3c3f56b9 /libavformat/tcp.c | |
parent | 53513831da58cae7603dc01270c1cf8e4252eba0 (diff) | |
download | ffmpeg-streaming-88730be65153f4a59916d971842fdaed3e0fd72b.zip ffmpeg-streaming-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 8ec84ec..33702e0 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; |