Stefano Sabatini
b58161d6b6
ffserver: print error code description in case of write_header() failure
...
Improve feedback.
11 years ago
Stefano Sabatini
73b8730475
ffserver: improve error feedback in case of write_header() failure
11 years ago
Stefano Sabatini
b133ec6244
ffserver: improve feedback in case no feed is defined for a stream
11 years ago
Stefano Sabatini
0083514727
ffserver: improve feedback in case of stream with unknown feed name
11 years ago
Stefano Sabatini
b1049f89fa
ffserver: deprecate inconsistent parsing behavior of Truncate option
...
Also make it accept the more consistent behavior (boolean option set to
true when specified).
11 years ago
Stefano Sabatini
0124fca03f
ffserver: extend feedback in http_start_receive_data()
11 years ago
Stefano Sabatini
ab89d2dd2a
ffserver: fix typo in comment: defaut -> default
11 years ago
Stefano Sabatini
77f5cb92af
ffserver: factorize code setting ReadOnlyFile/File options
11 years ago
Stefano Sabatini
0e1e5d0053
ffserver: improve error feedback in open_input_stream()
11 years ago
Stefano Sabatini
ddab41995f
ffserver: drop stream AudioQuality option
...
It has no effect, and it was never documented.
11 years ago
Stefano Sabatini
4f60d53b18
ffserver: add comment about how Launch path program is created
11 years ago
Stefano Sabatini
7cbbc4f7e7
ffserver: extend error handling when parsing the configuration file
...
In particular, abort immediately in case of memory error, avoid potential
crashes.
11 years ago
Stefano Sabatini
04702a0d3d
ffserver: add some error handling to main()
11 years ago
Stefano Sabatini
f7fbb7ac99
ffserver: clarify feedback in case of wrong AVOptionAudio/Video error
11 years ago
Stefano Sabatini
8adaee56c4
ffserver: factorize opt_audio/video_codec
...
Simplify.
11 years ago
Michael Niedermayer
885739f3b4
ffserver: strip odd chars from html error messages before sending them back
...
Fixes Ticket3034
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Alexey Balekhov
90ca814267
ffserver: allow choosing the pixel format
...
Fixes Ticket2954
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
e85771f268
ffserver: allocate rc_eq, prevent freeing invalid pointer
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2192f89368
ffserver: fix null pointer dereference
...
Fixes CID732208
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
73920ac573
ffserver: replace atoll() by strtoll()
...
this should make it easier to support ffserver with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
4a595cff79
ffserver/ctime1: avoid using strcpy()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
19c41c6d8e
opt: re-enable memleak fix for duplicated options.
...
The memleak fix in a1bcc76e
was causing problems when the original
string wasn't NULL or av_malloc'ed, thus was disabled. It seems the only
OPT_STRING occurence where it needed to be fixed is in ffserver. This
commit fixes that specific problem and so re-enable the original code.
12 years ago
Reimar Döffinger
88d55b827d
Remove incorrect use of ctype.h functions.
...
As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years ago
Clément Bœsch
9db5f82032
ffserver: add missing padding to extradata.
12 years ago
Michael Niedermayer
cbe43e62c9
ffserver: set oformat
...
Fix Ticket1986
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c2c1726847
ffserver remove CONFIG_NOCUTILS check
...
Nothing sets CONFIG_NOCUTILS, i also dont remember anything setting it in
the past.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
f30cf51d46
ffserver: put NoDaemon back so as not not break existing conf files.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
0e482a8e49
ffserver: fix streams and priv_data memleaks when closing a connection.
12 years ago
Clément Bœsch
26afdbcfc0
ffserver: fix NULL dereference with quoted Stream name.
12 years ago
Clément Bœsch
a9ba9268d7
ffserver: prefer av_asprintf over malloc+snprintf for Launch setting.
12 years ago
Michael Niedermayer
a04698c4a9
ffserver: zero dest_addr
...
Fixes CID733838
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Ettl
cc72d52dc1
ffserver: fix printf argument type
12 years ago
Michael Niedermayer
71bc8c95d7
ffm_read_write_index: check lseek return code
...
Fixes CID732184
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
378a5b9c5f
ffm_write_write_index: check lseek() return code
...
Fixes CID732185
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ff814c75a3
ffserver: fix return value of add_codec()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0f46825d98
ffserver: prevent nb_streams from becoming too large
...
Fixes CID732249
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Ettl
f077e1fb4c
ffserver: fix potential buffer overflow, based on wrong fscanf format indentifier.
...
Fixed Ticket1780
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Bobby Bingham
f1b6c14297
ffserver: fix typo in log message
...
Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
12 years ago
Michael Niedermayer
1fc3e8f4ea
ffserver: fix unsafe snprintf() return usage.
...
Found-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9c6af3a3db
ffserver: increase buffer size in http_send_too_busy_reply()
...
also add a assert0 to make sure the data is not truncated (which
should be impossible now)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d40c0e4a67
ffserver: fix order of evaluation bugs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Miroslav Slugeň
00969376ce
ffserver: add missing buffer set after rewrite av_open_input_file to avformat_open_input.
...
Fixes Ticket346
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9fcc62ed9b
Revert "ffserver: remove unused variable."
...
This reverts commit f02f745e4a
.
13 years ago
Paul B Mahol
0b717e24f9
ffserver: use avcodec_get_context_defaults3()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9430c232e8
ffserver: fix program reference
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fc5a905a6d
ffserver: check chdir() return
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
93613338fe
ff* tools: move descriptions from copyright header to @file doxy
13 years ago
Michael Niedermayer
452406bd5b
ff*: Fix duplicatedly printed version info with -version
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
db29da9ac8
ffserver: use av_noreturn
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
4d58e4cb4c
Rename ffserver to avserver.
14 years ago