Reynaldo H. Verdejo Pinochet
02497a5dc8
ffserver: don't hardcode RTSP status codes
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
0c5a6ef886
ffserver: nits & typos
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
87079bd055
ffserver: merge RTSP's teardown & pause routines
...
They were basically the same.
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
720530e52a
ffserver: cosmetics
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
35e525b732
ffserver: fix some comments
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
ba6186d6eb
ffserver: factor out connection closing from handler
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
5df2a502f2
ffserver: avoid useless substitution
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
958d98cc1c
ffserver: drop unneeded delay1 var
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
db93c2d031
ffserver: move misplaced comment
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
1507e2a095
ffserver: drop obvious comment
...
Following code line is self explanatory
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
47ba472814
ffserver: cosmetics and grammar
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Michael Niedermayer
c18cfd1001
ffserver: use avformat_alloc_context()
...
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
1d6666a6b8
ffserver: extend report_config_error() facilities, and use it for warnings
11 years ago
Stefano Sabatini
9985710a5a
ffserver: add stream Metadata option
...
Also deprecate Author, Comment, Copyright, and Title options, and update
docs to use the new Metadata option.
11 years ago
Stefano Sabatini
33f10fa657
ffserver: fix spacing typoin error message
11 years ago
Stefano Sabatini
93f0882725
ffserver: improve error feedback in case of av_write_frame() error
11 years ago
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>
11 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