73 Commits (63dcd16d567862d94fe4b178e47f440e8ad6a2c9)

Author SHA1 Message Date
Diego Biurrun a92be9b856 Replace memset(0) by zero initializations. 13 years ago
Martin Storsjö 32b83aeec1 avio: Add an URLProtocol flag for indicating that a protocol uses network 13 years ago
Martin Storsjö 7e58050590 proto: Use .priv_data_size to allocate the private context 13 years ago
Martin Storsjö 9957cdbfd5 avformat: Use ff_check_interrupt 13 years ago
Luca Barbato ebb6b27ad9 tcp: make connect() timeout properly 14 years ago
Martin Storsjö c60112f268 libavformat: Make protocols pass URLContext as log context where available 14 years ago
Anton Khirnov f35ff97f2e lavf: use designated initializers for all protocols 14 years ago
Anton Khirnov 5cec897105 avio: move extern url_interrupt_cb declaration from avio.h to url.h 14 years ago
Anton Khirnov f87b1b373a avio: AVIO_ prefixes for URL_ open flags. 14 years ago
Luca Barbato 3d42d4937b proto: introduce listen option in tcp 14 years ago
Luca Barbato ebba2b3e2a proto: factor ff_network_wait_fd and use it on udp 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Nicolas George c76374c6db Use AVERROR_EXIT with url_interrupt_cb. 14 years ago
Martin Storsjö 28c4741a66 libavformat: Remove FF_NETERRNO() 14 years ago
Nicolas George ad3cffb68f Non-blocking protocol: TCP 14 years ago
Nicolas George 51b317d2e9 TCP: factor the poll() call 14 years ago
Luca Barbato a8475bbdb6 os: replace select with poll 14 years ago
Diego Elio Pettenò c6610a216e Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice. 14 years ago
Thomas Guillem 1aa58c6405 tcp: Check url_interrupt_cb if connect was interrupted by a signal 14 years ago
Ronald S. Bultje 37e9cc4ec7 Remove two instances of AVERROR(ff_neterrno()), because ff_neterrno() itself 14 years ago
Martin Storsjö b416267622 tcp: Check both wfds and efds when waiting for the result from connect 14 years ago
Ronald S. Bultje 63638a3c4a Print error messages in case of connection failure or name resolution failure 15 years ago
Måns Rullgård f3bfe388b5 Make ff_url_split() public 15 years ago
Martin Storsjö 27241cbffe Declare the url_write buffer parameter as const 15 years ago
Martin Storsjö cae9a15c98 Don't report EINTR from select as an error, retry select instead 15 years ago
Aurelien Jacobs e4a9e3cc7c move ff_url_split() and ff_url_join() declarations to internal.h 15 years ago
Martin Storsjö c5c6e67c28 Rename url_split to ff_url_split 15 years ago
Martin Storsjö 814c56413d Don't explicitly initialize networking in the tcp and udp protocols 15 years ago
Ronald S. Bultje 88248b76af Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is). 15 years ago
Martin Storsjö fdcdd5396e Use getaddrinfo() instead of resolve_host(). Patch by Martin Storsjö 15 years ago
Martin Storsjö 73c1326809 Use ff_neterrno instead of errno in tcp.c. 16 years ago
Ronald S. Bultje f0a8039464 Add url_get_file_handle(), which is used to get the file descriptor 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Baptiste Coudurier 6ad1c9c992 only include sys/select.h if present, fix mingw compilation 16 years ago
Baptiste Coudurier c75a0cce5b include sys/select.h to get select, according to posix 2001, 16 years ago
Ronald S. Bultje f23a9759ce Remove check for @ in tcp.c which removes the authorization data from the 17 years ago
Ronald S. Bultje a3303add3c Cosmetics after previous patches. 17 years ago
Ronald S. Bultje 8b9af28da4 On failure, return directly because the fail: case does nothing. This also 17 years ago
Ronald S. Bultje 47f944a2ef Move malloc() down until after all initializations, so that the resource is 17 years ago
Ronald S. Bultje e6c1381982 Fix memleak on some OSes in case network initialization fails. See 17 years ago
Ronald S. Bultje ad33bfefc7 Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion. 17 years ago
Diego Biurrun d78d72da66 Set TCP protocol to is_streamed=1 as seeking is not possible. 17 years ago
Luca Abeni 087b327287 Include os_support.h only when needed 17 years ago
Ramiro Polla 1642cb6b2e Add initialization and cleanup functions for Winsock 18 years ago
Ramiro Polla 85060fe6b4 MinGW returns EAGAIN instead of EINPROGRESS 18 years ago
Panagiotis Issaris 6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO). 18 years ago
Alex Beregszaszi ba472aaf01 implement ff_socket_nonblock and use it in networking code 18 years ago
Alex Beregszaszi 8da4034f52 use ff_neterrno() and FF_NETERROR() for networking error handling 18 years ago
Alex Beregszaszi 383eda2348 move resolve_host from tcp.c to os_support.c as it is used widely 18 years ago