summaryrefslogtreecommitdiffstats
path: root/ffserver.c
Commit message (Collapse)AuthorAgeFilesLines
* ffserver: remove stale debug stanzaReynaldo H. Verdejo Pinochet2015-03-081-1/+0
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: move assignment outside condition evalReynaldo H. Verdejo Pinochet2015-03-081-2/+5
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: break some too long linesReynaldo H. Verdejo Pinochet2015-03-081-9/+18
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: fix wrong indentationReynaldo H. Verdejo Pinochet2015-02-151-1/+1
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: decouple assignment and checkReynaldo H. Verdejo Pinochet2015-02-151-2/+6
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: break too-long linesReynaldo H. Verdejo Pinochet2015-02-151-25/+51
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reorder HTTP fwd declsReynaldo H. Verdejo Pinochet2015-02-151-2/+2
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow find_stream_in_feed()Reynaldo H. Verdejo Pinochet2015-01-241-6/+5
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reindent handle_connection()Reynaldo H. Verdejo Pinochet2015-01-241-43/+43
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow handle_connection()Reynaldo H. Verdejo Pinochet2015-01-241-12/+13
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reindent http_vlog()Reynaldo H. Verdejo Pinochet2015-01-241-8/+8
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow http_vlog()Reynaldo H. Verdejo Pinochet2015-01-241-2/+4
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: Use av_malloc_array()Michael Niedermayer2015-01-101-4/+2
| | | | | Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffserver: Use avio_closep() to avoid leaving stale pointers in memorMichael Niedermayer2015-01-081-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ffserver: reindent rtsp_cmd_setup()Reynaldo H. Verdejo Pinochet2015-01-031-15/+15
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow rtsp_cmd_setup()Reynaldo H. Verdejo Pinochet2015-01-031-3/+4
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: drop redundant else clauseReynaldo H. Verdejo Pinochet2015-01-031-2/+2
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reindent compute_status()Reynaldo H. Verdejo Pinochet2015-01-031-133/+151
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow compute_status()Reynaldo H. Verdejo Pinochet2015-01-031-4/+8
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: check for EOF|error at loop conditionReynaldo H. Verdejo Pinochet2014-12-261-3/+1
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow close_connection()Reynaldo H. Verdejo Pinochet2014-12-261-7/+5
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: minor formatting improvement to http_server()Reynaldo H. Verdejo Pinochet2014-12-261-2/+5
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reindent start_multicast()Reynaldo H. Verdejo Pinochet2014-12-261-36/+38
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow start_multicast()Reynaldo H. Verdejo Pinochet2014-12-261-6/+9
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reindent start_children()Reynaldo H. Verdejo Pinochet2014-12-261-29/+27
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: reflow start_children()Reynaldo H. Verdejo Pinochet2014-12-261-17/+23
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: break lines at 80 in func prototypesReynaldo H. Verdejo Pinochet2014-12-261-4/+8
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: use avcodec_copy_context to copy contextLukasz Marek2014-12-021-7/+2
| | | | | | | Copying context using dedicated function is safer that raw memcpy which creates shallow copy. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* ffserver: dont leak pb_bufferLukasz Marek2014-11-261-0/+1
|
* ffserver: dont leak child argumentsLukasz Marek2014-11-261-1/+1
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* ffserver: export recommented encoder configurationLukasz Marek2014-11-261-2/+4
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* ffserver: allow skip setting defaultsLukasz Marek2014-11-261-0/+1
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* ffserver: drop pointless explicit !=0 checksReynaldo H. Verdejo Pinochet2014-11-161-3/+3
| | | | Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* ffserver: move configuration code to separate fileLukasz Marek2014-10-221-1118/+89
| | | | | | | | 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>
* 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>
OpenPOWER on IntegriCloud