Age | Commit message (Collapse) | Author |
|
* newdev/master:
avio: make udp_set_remote_url/get_local_port internal.
asfdec: also subtract preroll when reading simple index object
matroskaenc: remove a variable that's unused after bc17bd9.
avio: cosmetics - nicer vertical alignment.
Remove unnecessary icc version checks
Disable 'attribute "foo" ignored' warnings from icc
rtsp: Don't use a locale dependent format string
Add xd55 codec tag for XDCAM HD422 720p25 CBR files.
configure: get libavcodec version from new version.h header
lavc: move the version macros to a new installed header.
matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config
Do not use format string "%0.3f" for RTSP Range field.
Add apply_window_int16() to DSPContext with x86-optimized versions and use it in the ac3_fixed encoder.
Document usage of import libraries created by dlltool
configure: Set the correct lib target for arm/wince dlltool
fate: simplify regression-funcs.sh
fate: add support for multithread testing
Conflicts:
libavformat/rtspdec.c
libavutil/attributes.h
libavutil/internal.h
libavutil/mem.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
Functions interrupted by url_interrupt_cb should not be restarted.
Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish
when the underlying system call was interrupted and actually needed to be
restarted.
This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed
content).
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR()
error codes. Provide fallback definitions of other errno.h network
errors, mapping them to the corresponding winsock errors.
This eases catching these error codes in common code, without having
to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN).
This fixes roundup issue 2614, unbreaking blocking network IO on
windows.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
|
|
Keep the original corner case behaviour, where reuse is enabled
for the case where no argument is given to the reuse url option.
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
Select has limitations on the fd values it could accept and silently
breaks when it is reached.
|
|
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
|
|
If the remote address is updated later with this function, the caller
shouldn't set the connect option until in this call.
Originally committed as revision 26245 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
public function
Originally committed as revision 25481 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 25406 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
This allows us to find out the local sending address via getsockname,
otherwise we just get INADDR_ANY (or similar for v6).
This also makes writes return ECONNREFUSED if nobody is listening on the
receiving port.
Originally committed as revision 25405 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Not all users of this function will have a full struct sockaddr_storage
available, and casting other sockaddrs to sockaddr_storage is wrong,
while any sockaddr can be cast to a base sockaddr.
Originally committed as revision 25388 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
The header probably isn't the right permanent place for this function, but
it is quite small, and consensus seems to be that it can stay in the
header for now, instead of creating a new file network.c just for this one.
Originally committed as revision 25387 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 25386 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
This is required in order to get the IP_MULTICAST_TTL define.
Originally committed as revision 25351 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 25350 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
This fixes building on FreeBSD in some configurations, if the IPv6 multicast
structs are available, but IPPROTO_IPV6 isn't defined.
Originally committed as revision 25147 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Fixes issue 1784 (hang with nonsense URL/no network available).
Originally committed as revision 24575 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.
Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 23601 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 22694 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
those functions are not part of the public API
Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Since this function isn't in the public API, it should have an ff_ prefix.
Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Networking is always initialized when opening protocols.
Originally committed as revision 22227 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
assuming getaddrinfo will have done this.
Originally committed as revision 22123 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21383 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
<$firstname () $firstname st>.
Originally committed as revision 21382 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 21365 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.
There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.
Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
patch by Dave Yeo, daveryeo telus net
Originally committed as revision 16077 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 16032 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
in a non blocked mode.
Patch by Jindrich Makovicka: makovick gmail
Originally committed as revision 15846 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 15824 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
'buffer_size' URL option.
Patch by Jindrich Makovicka, makovick at gmail dot com
Originally committed as revision 15807 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 14963 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
"[PATCH] tcp.c/udp.c memleak?" for discussion.
Originally committed as revision 14923 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Patch by Luca Abeni.
Originally committed as revision 13114 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 12861 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
constants which are completely unneeded anyway. Note that 3 is a cheap
integer bound for log10(1<<CHAR_BIT).
Originally committed as revision 11902 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
|
Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
|