summaryrefslogtreecommitdiffstats
path: root/ffserver.c
Commit message (Collapse)AuthorAgeFilesLines
* ffserver: use av_freep(), do not leave stale pointers in memoryMichael Niedermayer2014-10-081-10/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffserver: drop custom skip_spaces() implReynaldo H. Verdejo Pinochet2014-09-131-12/+1
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: use correct error for stream not foundReynaldo H. Verdejo Pinochet2014-09-131-1/+1
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* Add missing "const" all over the place.Reimar Döffinger2014-08-291-1/+1
| | | | | | Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* ffserver: warn if config uses a system portReynaldo H. Verdejo Pinochet2014-08-171-0/+2
| | | | | | | | 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>
* ffserver: deprecate Port and BindAddress options in favor of HTTPPort and ↵Stefano Sabatini2014-08-171-3/+7
| | | | | | | | HTTPBindAddress The new option names are more explicit. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* Drop remaining unneeded != NULLMichael Niedermayer2014-08-151-21/+21
| | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-151-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | ffserver: initialize pbuffer in prepare_sdp_description()Michael Niedermayer2014-08-021-1/+3
| | | | | | | | | | | | | | | | also check pbuffer before use Found-by: CSA Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffserver: use av_mallocz_array()Michael Niedermayer2014-07-171-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffserver: add HAVE_UNISTD_H around #include <unistd.h>Michael Niedermayer2014-07-081-0/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffserver: don't leak poll_table if poll failsReynaldo H. Verdejo Pinochet2014-05-101-1/+3
| | | | | | | | | | | | Should fix Coverity Scan issue #732265 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: do not ignore lseek() returnReynaldo H. Verdejo Pinochet2014-04-291-2/+5
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732177 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: do not ignore getsockname() returnReynaldo H. Verdejo Pinochet2014-04-281-1/+4
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732176 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: do not ignore send() returnReynaldo H. Verdejo Pinochet2014-04-281-1/+2
| | | | | | | | | | | | Should fix Coverity Scan issue #732178 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: do not ignore setsockopt returnReynaldo H. Verdejo Pinochet2014-04-281-1/+2
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732181 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: do not ignore ff_socket_nonblock returnReynaldo H. Verdejo Pinochet2014-04-281-2/+5
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issues #732180 & #732182 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: fix missing frees at connection setupReynaldo H. Verdejo Pinochet2014-04-251-2/+8
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732266 and some of #732265 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: free AVStream st before wiping contextReynaldo H. Verdejo Pinochet2014-04-251-0/+1
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732269 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: free nacl as neededReynaldo H. Verdejo Pinochet2014-04-251-1/+2
| | | | | | | | | | | | Should fix FFmpeg Coverity Scan issue #732268 Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: don't hardcode RTSP status codesReynaldo H. Verdejo Pinochet2014-04-071-37/+3
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: nits & typosReynaldo H. Verdejo Pinochet2014-04-071-15/+15
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: merge RTSP's teardown & pause routinesReynaldo H. Verdejo Pinochet2014-02-141-31/+14
| | | | | | | | | | | | They were basically the same. Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: cosmeticsReynaldo H. Verdejo Pinochet2014-02-141-2/+1
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: fix some commentsReynaldo H. Verdejo Pinochet2014-02-141-10/+10
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: factor out connection closing from handlerReynaldo H. Verdejo Pinochet2014-02-141-10/+8
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: avoid useless substitutionReynaldo H. Verdejo Pinochet2014-02-141-1/+1
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: drop unneeded delay1 varReynaldo H. Verdejo Pinochet2014-02-081-4/+4
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: move misplaced commentReynaldo H. Verdejo Pinochet2014-02-081-1/+1
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: drop obvious commentReynaldo H. Verdejo Pinochet2014-02-081-1/+0
| | | | | | | | | | | | Following code line is self explanatory Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: cosmetics and grammarReynaldo H. Verdejo Pinochet2014-02-081-11/+14
| | | | | | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
* | ffserver: use avformat_alloc_context()Michael Niedermayer2014-02-041-2/+7
| | | | | | | | | | | | Fixes null pointer dereference Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffserver: extend report_config_error() facilities, and use it for warningsStefano Sabatini2013-12-161-13/+12
| |
* | ffserver: add stream Metadata optionStefano Sabatini2013-12-161-24/+36
| | | | | | | | | | Also deprecate Author, Comment, Copyright, and Title options, and update docs to use the new Metadata option.
* | ffserver: fix spacing typoin error messageStefano Sabatini2013-12-161-1/+1
| |
* | ffserver: improve error feedback in case of av_write_frame() errorStefano Sabatini2013-12-131-2/+3
| |
* | ffserver: print error code description in case of write_header() failureStefano Sabatini2013-11-301-1/+1
| | | | | | | | Improve feedback.
* | ffserver: improve error feedback in case of write_header() failureStefano Sabatini2013-11-291-3/+4
| |
* | ffserver: improve feedback in case no feed is defined for a streamStefano Sabatini2013-11-291-1/+6
| |
* | ffserver: improve feedback in case of stream with unknown feed nameStefano Sabatini2013-11-291-1/+1
| |
* | ffserver: deprecate inconsistent parsing behavior of Truncate optionStefano Sabatini2013-11-291-1/+9
| | | | | | | | | | Also make it accept the more consistent behavior (boolean option set to true when specified).
* | ffserver: extend feedback in http_start_receive_data()Stefano Sabatini2013-11-291-11/+24
| |
* | ffserver: fix typo in comment: defaut -> defaultStefano Sabatini2013-11-281-1/+1
| |
* | ffserver: factorize code setting ReadOnlyFile/File optionsStefano Sabatini2013-11-281-7/+2
| |
* | ffserver: improve error feedback in open_input_stream()Stefano Sabatini2013-11-281-9/+16
| |
* | ffserver: drop stream AudioQuality optionStefano Sabatini2013-11-281-5/+0
| | | | | | | | It has no effect, and it was never documented.
* | ffserver: add comment about how Launch path program is createdStefano Sabatini2013-11-281-1/+2
| |
* | ffserver: extend error handling when parsing the configuration fileStefano Sabatini2013-11-281-12/+45
| | | | | | | | | | In particular, abort immediately in case of memory error, avoid potential crashes.
* | ffserver: add some error handling to main()Stefano Sabatini2013-11-281-2/+4
| |
* | ffserver: clarify feedback in case of wrong AVOptionAudio/Video errorStefano Sabatini2013-11-281-1/+1
| |
OpenPOWER on IntegriCloud