Reynaldo H. Verdejo Pinochet
0121ddabb8
ffserver: reflow close_connection()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
1146223699
ffserver: minor formatting improvement to http_server()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
978bc4327b
ffserver: reindent start_multicast()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
719cc02586
ffserver: reflow start_multicast()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
18011888cc
ffserver: reindent start_children()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
ec42251715
ffserver: reflow start_children()
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
1abdfb100a
ffserver: break lines at 80 in func prototypes
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Lukasz Marek
8b0226f2a6
ffserver: use avcodec_copy_context to copy context
...
Copying context using dedicated function is safer that raw memcpy
which creates shallow copy.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
3d0867917f
ffserver: dont leak pb_buffer
10 years ago
Lukasz Marek
3cb0bec687
ffserver: dont leak child arguments
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
ec6e035b8b
ffserver: export recommented encoder configuration
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Lukasz Marek
aaf6cc925f
ffserver: allow skip setting defaults
...
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Reynaldo H. Verdejo Pinochet
33d6f90e3e
ffserver: drop pointless explicit !=0 checks
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Lukasz Marek
f524d2e47c
ffserver: move configuration code to separate file
...
This commit doesn't change any existing logic.
It moves ffserver configuration related code to separate file.
It intends to make maintaining easier.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
10 years ago
Michael Niedermayer
e97f38ce63
ffserver: use av_freep(), do not leave stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Reynaldo H. Verdejo Pinochet
2638af2fc5
ffserver: drop custom skip_spaces() impl
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reynaldo H. Verdejo Pinochet
4c8be331bc
ffserver: use correct error for stream not found
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Reimar Döffinger
d9e2aceb7f
Add missing "const" all over the place.
...
Only "./configure --enable-gpl" on x86 was tested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Reynaldo H. Verdejo Pinochet
fb2de3c4d1
ffserver: warn if config uses a system port
...
Should be harmless as far as users know what they are doing
but an informative warning wont hurt. For details, refer to
http://tools.ietf.org/html/rfc6335
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Stefano Sabatini
1013d8dd69
ffserver: deprecate Port and BindAddress options in favor of HTTPPort and HTTPBindAddress
...
The new option names are more explicit.
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
10 years ago
Michael Niedermayer
81a663f49e
Drop remaining unneeded != NULL
...
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
1d8d21b90a
ffserver: initialize pbuffer in prepare_sdp_description()
...
also check pbuffer before use
Found-by: CSA
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
f46e876027
ffserver: use av_mallocz_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
307239bdb6
ffserver: add HAVE_UNISTD_H around #include <unistd.h>
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Reynaldo H. Verdejo Pinochet
e0877aa544
ffserver: don't leak poll_table if poll fails
...
Should fix Coverity Scan issue #732265
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
5b881499a8
ffserver: do not ignore lseek() return
...
Should fix FFmpeg Coverity Scan issue #732177
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
898192e029
ffserver: do not ignore getsockname() return
...
Should fix FFmpeg Coverity Scan issue #732176
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
e79bc6a88a
ffserver: do not ignore send() return
...
Should fix Coverity Scan issue #732178
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
8baa5b32a5
ffserver: do not ignore setsockopt return
...
Should fix FFmpeg Coverity Scan issue #732181
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
6d953ae2c4
ffserver: do not ignore ff_socket_nonblock return
...
Should fix FFmpeg Coverity Scan issues #732180 & #732182
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
7228bdeebd
ffserver: fix missing frees at connection setup
...
Should fix FFmpeg Coverity Scan issue #732266 and some of #732265
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
1404e2a389
ffserver: free AVStream st before wiping context
...
Should fix FFmpeg Coverity Scan issue #732269
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
Reynaldo H. Verdejo Pinochet
107f2468c4
ffserver: free nacl as needed
...
Should fix FFmpeg Coverity Scan issue #732268
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
11 years ago
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