diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-28 13:19:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-28 13:19:11 +0100 |
commit | 8943ad40146d322f5a5bf2bab790d117ec7a4c37 (patch) | |
tree | 3aa57b91ebe60e9958219e944db3d675e6972ba7 /ffserver.c | |
parent | f9f79cb0ecb68546e6de3db6072f631bb3fbcff8 (diff) | |
parent | 4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26 (diff) | |
download | ffmpeg-8943ad40146d322f5a5bf2bab790d117ec7a4c37.tar.gz |
Merge commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26'
* commit '4521645b1aee9e9ad8f5cea7b2392cd5f6ffcd26':
avio: fix pointer type mismatches in avio_enum_protocols()
avserver: use socklen_t where appropriate
udp: use socklen_t where appropriate
network: use HAVE_THREADS instead of local hack
af_channelmap: remove stray enum declaration
buffersink: remove stray semicolon after function definition
Conflicts:
libavformat/avio.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ffserver.c b/ffserver.c index d985056ee0..e83534cc76 100644 --- a/ffserver.c +++ b/ffserver.c @@ -812,7 +812,8 @@ static void http_send_too_busy_reply(int fd) static void new_connection(int server_fd, int is_rtsp) { struct sockaddr_in from_addr; - int fd, len; + socklen_t len; + int fd; HTTPContext *c = NULL; len = sizeof(from_addr); @@ -1736,7 +1737,8 @@ static int http_parse_request(HTTPContext *c) case REDIR_SDP: { uint8_t *sdp_data; - int sdp_data_size, len; + int sdp_data_size; + socklen_t len; struct sockaddr_in my_addr; snprintf(q, c->buffer_size, @@ -3019,7 +3021,8 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url) char path1[1024]; const char *path; uint8_t *content; - int content_length, len; + int content_length; + socklen_t len; struct sockaddr_in my_addr; /* find which url is asked */ |