summaryrefslogtreecommitdiffstats
path: root/avserver.c
Commit message (Collapse)AuthorAgeFilesLines
* avserver: replace av_read_packet with av_read_frameJanne Grunau2012-11-151-1/+3
|
* avserver: fix constness casting warningsJanne Grunau2012-11-151-10/+11
| | | | | | | | Use a different char* for extracting info string from the URL. The other pointer can be made const then which elimates the need for a cast and fixes the following warnings: warning: to be safe all intermediate pointers in cast from ‘char **’ to ‘const char **’ must be ‘const’ qualified [-Wcast-qual]
* avserver: use freopen to redirect stdin/out/err to /dev/nullJanne Grunau2012-11-151-7/+7
|
* avserver: remove daemon modeMans Rullgard2012-11-151-38/+0
| | | | | | | | | | | | This code spews a multitude of warnings with glibc (unchecked return values), some of them possibly warranted. Furthermore, the deamonisation is not suitable for use with typical startup scripts as it does not provide the PID of the daemon in any way. Users wishing to run avserver as a daemon can still do so using start-stop-daemon or equivalent tools. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* avserver: use socklen_t where appropriateMans Rullgard2012-10-271-3/+6
| | | | | | | Various socket functions expect a pointer to socklen_t which is not necessarily int. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avserver: move avserver-specific code from ffmdec.c to avserver.cMans Rullgard2012-10-161-0/+32
| | | | | | | | This way avserver only depends on the data structures of the ffm demuxer, which it already does, and not also on private functions being exported by the library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-011-5/+0
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-011-2/+0
|
* avserver: Add missing #include for av_gettime()Diego Biurrun2012-09-111-0/+2
|
* avconv: split printing "main options" into global and per-file.Anton Khirnov2012-08-191-1/+1
|
* cmdutils: extend -h to allow printing codec details.Anton Khirnov2012-08-191-1/+1
|
* avtools: move some newlines to show_help_options().Anton Khirnov2012-08-191-1/+1
| | | | Don't require every caller to supply them.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-18/+18
|
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-201-1/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avserver: check return value of ftruncate()Mans Rullgard2012-05-061-1/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-281-6/+3
| | | | Also remove one pointless zero initialization in rangecoder.c.
* Mark mutable static data const where appropriate.Alex Converse2012-02-211-1/+1
|
* avserver: fix build after the next bump.Anton Khirnov2012-01-221-10/+12
| | | | | | | Now that 0.8 is out we can reapply this commit. It breaks shared avserver builds due to avserver using internal libavformat symbols, which are now hidden, so this commit also disables avserver with --enable-shared.
* Revert "avserver: fix build after the next bump."Anton Khirnov2012-01-211-12/+10
| | | | | | | This temporarily (until 0.8 is released) reverts commit 8e1340abc316e038bb89e5a3b46e92ff58c98a88. That commit breaks shared builds because of symbol hiding. Reverting it will enable shared builds for 0.8
* avserver: fix build after the next bump.Anton Khirnov2012-01-201-10/+12
|
* avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY.Anton Khirnov2012-01-121-20/+0
|
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-121-9/+8
|
* lavf: deprecate av_close_input_stream().Anton Khirnov2011-12-121-2/+2
| | | | And remove all its uses.
* Fix a bunch of common typos.Diego Biurrun2011-12-111-1/+1
|
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-061-0/+1
| | | | | | | | | Calling the init function will become mandatory at some later point. By calling it, more heavy network init (such as SSL/TLS library init) can be done once at startup, instead of implicitly when used (which could lead to it being done a number of times). Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all usage of strcasecmp/strncasecmpReimar Döffinger2011-11-061-89/+88
| | | | | | | | | | | All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace outdated references to ffmpeg tool with avconv.Diego Biurrun2011-11-021-3/+3
|
* lavc: make avcodec_get_context_defaults3 "officially" publicAnton Khirnov2011-10-191-2/+2
| | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-121-1/+1
|
* rtpdec: Add ff_ prefix to all nonstatic symbolsMartin Storsjö2011-10-121-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avserver: Fix a bug where the socket is IPv4, but IPv6 is autoselected for ↵Nathan Caldwell2011-09-301-0/+1
| | | | | | | | the loopback address. This fixes bind(8080): Address family not supported by protocol. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avtools: parse loglevel before all the other options.Anton Khirnov2011-09-261-0/+1
| | | | | This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
* cmdutils: add support for caller-provided option context.Anton Khirnov2011-09-041-1/+1
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-041-0/+5
| | | | Allows cmdutils to call each tool's own cleanup function.
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-261-2/+2
|
* Rename ffserver to avserver.Anton Khirnov2011-08-091-0/+4742
OpenPOWER on IntegriCloud