summaryrefslogtreecommitdiff
path: root/avserver.c
Commit message (Collapse)AuthorAge
* avserver: do not use a static string as a default for a string optionAnton Khirnov2013-08-04
| | | | | | Fixes an invalid free. Bug-id: 448
* rtpproto: Move rtpproto specific function declarations to a separate headerMartin Storsjö2013-07-31
| | | | | | | Mixing these with the rtp depacketizer functions in rtpdec.h is no good. Signed-off-by: Martin Storsjö <martin@martin.st>
* avserver: Remove unused loadable module supportMartin Storsjö2013-07-18
| | | | | | | | | | There is no record of this ever being used at all, anywhere, since the feature was added in 2effd274466. This gets rid of extra linker tricks just to support a feature that isn't used, simplifying portability to other platforms. Signed-off-by: Martin Storsjö <martin@martin.st>
* avserver: don't set deprecated options.Anton Khirnov2013-03-08
|
* Use the avstring.h locale-independent character type functionsReimar Döffinger2013-03-07
| | | | | | Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö <martin@martin.st>
* avserver: replace av_read_packet with av_read_frameJanne Grunau2012-11-15
|
* avserver: fix constness casting warningsJanne Grunau2012-11-15
| | | | | | | | 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-15
|
* avserver: remove daemon modeMans Rullgard2012-11-15
| | | | | | | | | | | | 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-27
| | | | | | | 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-16
| | | | | | | | 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-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* avserver: Add missing #include for av_gettime()Diego Biurrun2012-09-11
|
* avconv: split printing "main options" into global and per-file.Anton Khirnov2012-08-19
|
* cmdutils: extend -h to allow printing codec details.Anton Khirnov2012-08-19
|
* avtools: move some newlines to show_help_options().Anton Khirnov2012-08-19
| | | | Don't require every caller to supply them.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avserver: check return value of ftruncate()Mans Rullgard2012-05-06
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* Mark mutable static data const where appropriate.Alex Converse2012-02-21
|
* avserver: fix build after the next bump.Anton Khirnov2012-01-22
| | | | | | | 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-21
| | | | | | | 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-20
|
* avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY.Anton Khirnov2012-01-12
|
* Replace all uses of av_close_input_file() with avformat_close_input().Anton Khirnov2011-12-12
|
* lavf: deprecate av_close_input_stream().Anton Khirnov2011-12-12
| | | | And remove all its uses.
* Fix a bunch of common typos.Diego Biurrun2011-12-11
|
* Call avformat_network_init/deinit in the programsMartin Storsjö2011-11-06
| | | | | | | | | 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-06
| | | | | | | | | | | 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-02
|
* lavc: make avcodec_get_context_defaults3 "officially" publicAnton Khirnov2011-10-19
| | | | Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
* Remove all uses of deprecated AVOptions API.Anton Khirnov2011-10-12
|
* rtpdec: Add ff_ prefix to all nonstatic symbolsMartin Storsjö2011-10-12
| | | | 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-30
| | | | | | | | 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-26
| | | | | 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-04
| | | | This is the first step to removing the globals plague from avtools.
* cmdutils: move exit_program() declaration to cmdutils from avconvAnton Khirnov2011-09-04
| | | | Allows cmdutils to call each tool's own cleanup function.
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-26
|
* Rename ffserver to avserver.Anton Khirnov2011-08-09