Luca Abeni
087b327287
Include os_support.h only when needed
...
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
086119b3f3
Remove perror() usage from udp.c
...
Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
aa519c4771
Remove some more duplicated code
...
Originally committed as revision 11038 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
d4936869ff
Remove the useless variable "my_addr1"
...
Originally committed as revision 11037 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
882d00f27d
Use the same code to set local_port in the IPv4-only case and in the
...
protocol-independet case
Originally committed as revision 11036 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
6b7089044a
Remove some useless assignments (the UDPContext is allocated with av_mallocz())
...
Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
d05cb726bd
Simplify set_remote_url(), and remove some code duplication
...
Originally committed as revision 11016 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
4c7d5764a0
Use recv() instead of recvfrom() (removes some other differences between
...
IPv4-only and protocol-independent code)
Originally committed as revision 11015 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
66c49825da
Remove a now unused field
...
Originally committed as revision 11014 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
9cdcb04f5a
Give better names to multicast functions (they are not IPv6-only)
...
Originally committed as revision 11013 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
a8bde059e6
Avoid to duplicate the multicast code between the IPv4-only and
...
protocol-independent versions
Originally committed as revision 11012 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
0ec1233511
Remove some ifdefs by using the "dest_addr_len" field in both the IPv4-only
...
code and the protocol-independent code
Originally committed as revision 11011 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ronald S. Bultje
51844e6cd2
Take the target address family in account when determining the family of
...
the local address to bind.
Fixes ffserver and UDP streaming without --disable-ipv6 on MacOS X
Patch by Ronald S. Bultje (rsbultje st gmail dot com)
Originally committed as revision 10883 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
7d8576c279
Reindent after last commit
...
Originally committed as revision 10882 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Nicolas George
d607861cd5
Resolve hosts and bind sockets even when the local_port is not set (0)
...
Fixes ffserver on linux when "--disable-ipv6" is not used
Patch by Nicolas George (nicolas dot george at normalesup dot org)
Originally committed as revision 10881 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
f18cae4d6e
Set UDP receive buffer to 64k
...
Originally committed as revision 10129 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
1642cb6b2e
Add initialization and cleanup functions for Winsock
...
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
0a4f20c6c5
Add some explanatory comments to #endif directives.
...
Originally committed as revision 9287 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
ea23327b9c
Remove unused static function.
...
Originally committed as revision 9285 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
8da4034f52
use ff_neterrno() and FF_NETERROR() for networking error handling
...
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
b5cccea088
change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards
...
Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
42572ef53f
move networking #includes into separate file
...
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org
Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
763750242b
cosmetics: indentation
...
Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
c9c1a8e794
The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.
...
Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
e9d511dc7e
The long awaited BeOS cleanup, phase 1
...
Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Thijs
34ecc3975f
Make it possible to reuse UDP socket (optional, disabled by default)
...
Patch by Thijs % thijsvermeir A telenet P be %
Original thread:
Subject: Re: [Ffmpeg-devel] [PATCH proposal] Reuse UDP socket v2
Date: October 28, 2006 11:09:00 AM CEDT
Originally committed as revision 6825 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Huehner
7b49ce2e34
Add const to (mostly) char* and make some functions static, which aren't used
...
outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alex Beregszaszi
9c633e9a6f
FreeBSD ipv6 multicast patch from ports tree
...
Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Hans Zandbelt
276358c1c4
udp ipv6 localhost resolving patch by ("Hans Zandbelt": Hans Zandbelt, telin nl)
...
Originally committed as revision 4463 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Benjamin Larsson
58379c062f
printf-> av_log patch by (Benjamin Larsson, banan: student ltu se)
...
Originally committed as revision 4437 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2fc8ea249f
dissallow sprintf
...
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Hans Zandbelt
7a91333f73
IPv6 support patch by ("Hans Zandbelt" <Hans.Zandbelt <at> telin {dot} nl>)
...
Originally committed as revision 3663 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Petr Doubek
6ba5cbc699
HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz dot ch>)
...
tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>)
Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Mike Melanson
0bd586c50d
sweeping change from -EIO -> AVERROR_IO
...
Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
cc74aafbc6
undefined local_port fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)
...
Originally committed as revision 2007 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Max Krasnyansky
9899efb41a
variable UDP packet size patch by Max Krasnyansky
...
Originally committed as revision 1565 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
abac617591
renamed libav to libavformat
...
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
772956c5d7
fixed multicast connect
...
Originally committed as revision 1221 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
b8a78f419d
reversing header game
...
MIN/MAX -> FFMIN/FFMAX
Originally committed as revision 1184 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
François Revol
9eb826478c
MIN/MAX sys/param.h patch by (François Revol <revol at free dot fr>)
...
Originally committed as revision 1164 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
François Revol
9ddd71fc60
added BeOS net_server support (R5 network stack), basically the same
...
problems as with winsock (sockets != fd), and the broken select().
based on older patch by Andrew Bachmann.
patch by (François Revol <revol at free dot fr>)
Originally committed as revision 1144 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
2d225591e9
better UDP support - added preliminary multicast support (untested)
...
Originally committed as revision 793 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago