summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_sendcmd.c
Commit message (Collapse)AuthorAgeFilesLines
* avfilter: remove usage of empty headerPaul B Mahol2017-06-261-1/+0
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: don't anonymously typedef structsPaul B Mahol2017-05-131-3/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/f_setcmd: fix null pointer dereference on using dash as intervalMarton Balint2017-02-191-0/+7
| | | | | | | Fixes Coverity CID 1396259. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* all: use FFDIFFSIGN to resolve possible undefined behavior in comparatorsGanesh Ajjanagadde2015-11-031-5/+1
| | | | | | | | | | | | | | | | | | | FFDIFFSIGN was created explicitly for this purpose, since the common return a - b idiom is unsafe regarding overflow on signed integers. It optimizes to branchless code on common compilers. FFDIFFSIGN also has the subjective benefit of being easier to read due to lack of ternary operators. Tested with FATE. Things not covered by this are unsigned integers, for which overflows are well defined, and also places where overflow is clearly impossible, e.g an instance where the a - b was being done on 24 bit values. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avfilter/f_sendcmd: use the name 's' for the pointer to the private contextGanesh Ajjanagadde2015-09-151-18/+18
| | | | | Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavfi/sendcmd: improve error reporting and robustness in case of missing ↵Stefano Sabatini2015-03-161-3/+6
| | | | | | commands In particular, fix crash with -vf sendcmd, when no arguments are provided.
* avfilter/f_sendcmd: consider it an error if there are no commandsMichael Niedermayer2015-02-091-0/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/f_sendcmd: Use av_freep() to avoid leaving stale pointers in memoryMichael Niedermayer2014-12-141-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavfi: do not export the filters from shared objects Conflicts: libavfilter/af_amix.c libavfilter/af_anull.c libavfilter/asrc_anullsrc.c libavfilter/f_select.c libavfilter/f_settb.c libavfilter/split.c libavfilter/src_movie.c libavfilter/vf_aspect.c libavfilter/vf_blackframe.c libavfilter/vf_colorbalance.c libavfilter/vf_copy.c libavfilter/vf_crop.c libavfilter/vf_cropdetect.c libavfilter/vf_drawbox.c libavfilter/vf_format.c libavfilter/vf_framestep.c libavfilter/vf_frei0r.c libavfilter/vf_hflip.c libavfilter/vf_libopencv.c libavfilter/vf_lut.c libavfilter/vf_null.c libavfilter/vf_overlay.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_unsharp.c libavfilter/vf_vflip.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter: various cosmeticsPaul B Mahol2013-09-121-21/+21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: remove redundant .get_(audio/video)_buffer initializationsPaul B Mahol2013-09-071-2/+0
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/f_sendcmd: make const arrays static constMichael Niedermayer2013-08-101-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* make the ordering of the return type and av_cold consistentMichael Niedermayer2013-05-051-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/sendcmd: drop now pointless sendcmd/asendcmd_init() wrappersStefano Sabatini2013-04-211-14/+2
|
* lavfi/sendcmd: fix various "in in" rerepepetitions in messagesStefano Sabatini2013-04-211-3/+3
|
* avfilter: Filter options that are used for both video and audio should have ↵Michael Niedermayer2013-04-121-1/+1
| | | | | | both flags Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: remove now unused args parameter from AVFilter.init and init_opaqueMichael Niedermayer2013-04-121-2/+2
| | | | | | | | | This is mostly automated global search and replace The deprecated aconvert filter is disabled, if it still has users it should be updated Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/sendcmd: switch to an AVOptions-based system.Clément Bœsch2013-04-111-11/+3
|
* Merge commit '7e350379f87e7f74420b4813170fe808e2313911'Michael Niedermayer2013-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7e350379f87e7f74420b4813170fe808e2313911': lavfi: switch to AVFrame. Conflicts: doc/filters.texi libavfilter/af_ashowinfo.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersink.c libavfilter/buffersrc.c libavfilter/buffersrc.h libavfilter/f_select.c libavfilter/f_setpts.c libavfilter/fifo.c libavfilter/split.c libavfilter/src_movie.c libavfilter/version.h libavfilter/vf_aspect.c libavfilter/vf_bbox.c libavfilter/vf_blackframe.c libavfilter/vf_delogo.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_fieldorder.c libavfilter/vf_fps.c libavfilter/vf_frei0r.c libavfilter/vf_gradfun.c libavfilter/vf_hqdn3d.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_showinfo.c libavfilter/vf_transpose.c libavfilter/vf_vflip.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavfilter/yadif.h Following are notes about the merge authorship and various technical details. Michael Niedermayer: * Main merge operation, notably avfilter.c and video.c * Switch to AVFrame: - afade - anullsrc - apad - aresample - blackframe - deshake - idet - il - mandelbrot - mptestsrc - noise - setfield - smartblur - tinterlace * various merge changes and fixes in: - ashowinfo - blackdetect - field - fps - select - testsrc - yadif Nicolas George: * Switch to AVFrame: - make rawdec work with refcounted frames. Adapted from commit 759001c534287a96dc96d1e274665feb7059145d by Anton Khirnov. Also, fix the use of || instead of | in a flags check. - make buffer sink and src, audio and video work all together Clément Bœsch: * Switch to AVFrame: - aevalsrc - alphaextract - blend - cellauto - colormatrix - concat - earwax - ebur128 - edgedetect - geq - histeq - histogram - hue - kerndeint - life - movie - mp (with the help of Michael) - overlay - pad - pan - pp - pp - removelogo - sendcmd - showspectrum - showwaves - silencedetect - stereo3d - subtitles - super2xsai - swapuv - thumbnail - tile Hendrik Leppkes: * Switch to AVFrame: - aconvert - amerge - asetnsamples - atempo - biquads Matthieu Bouron: * Switch to AVFrame - alphamerge - decimate - volumedetect Stefano Sabatini: * Switch to AVFrame: - astreamsync - flite - framestep Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com> Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/sendcmd: switch to filter_frame APIStefano Sabatini2012-12-081-9/+7
|
* lavfi/sendcmd: expose the options for both filters.Clément Bœsch2012-11-291-6/+22
|
* lavfi/sendcmd: add FLAGS to AVOption array.Clément Bœsch2012-11-291-6/+6
|
* lavfi: convert remaining input/output list compound literals to named objects.Clément Bœsch2012-11-281-35/+41
| | | | This is following 568c70e79ee267426c15ef4603c69703f6a5884a.
* lavfi: replace filter_samples by filter_frameMichael Niedermayer2012-11-281-2/+2
| | | | | Based on patch by Anton Khirnov Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi/sendcmd: move buf init() variable to internal scope where it is usedStefano Sabatini2012-10-231-2/+1
|
* lavfi/sendcmd: release file in case of failed allocationStefano Sabatini2012-10-231-1/+3
| | | | Avoid hanging file.
* lavfi: add asendcmd and sendcmd filtersStefano Sabatini2012-09-231-0/+577
OpenPOWER on IntegriCloud