84 Commits (10e3dd15a5ce3d9ce6466d5f3e06c44e48753100)

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
Michael Niedermayer 35bed44fc9 TCP: change default timeout to 5sec 14 years ago
Michael Niedermayer a22500744b Revert "Timeout TCP open() after 5 seconds." 14 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
Michael Niedermayer a2f5e14a86 Timeout TCP open() after 5 seconds. 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ö c24a403496 libavformat: Remove FF_NETERRNO() 14 years ago
Martin Storsjö 28c4741a66 libavformat: Remove FF_NETERRNO() 14 years ago
Nicolas George 6e59474b30 Non-blocking protocol: TCP 14 years ago
Nicolas George 566f17b62d TCP: factor the poll() call 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 d0eb91ad04 os: replace select with poll 14 years ago
Luca Barbato a8475bbdb6 os: replace select with poll 14 years ago
Diego Elio Pettenò 66355be3c3 Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice. 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 14 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 16 years ago
Ronald S. Bultje a3303add3c Cosmetics after previous patches. 16 years ago
Ronald S. Bultje 8b9af28da4 On failure, return directly because the fail: case does nothing. This also 16 years ago
Ronald S. Bultje 47f944a2ef Move malloc() down until after all initializations, so that the resource is 16 years ago
Ronald S. Bultje e6c1381982 Fix memleak on some OSes in case network initialization fails. See 16 years ago
Ronald S. Bultje ad33bfefc7 Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion. 16 years ago