summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* tools/target_dec_fuzzer: Only audio uses the return value to decode packets ↵Michael Niedermayer2017-01-31
| | | | | | | | | | in pieces, correct the code to match that Fixes: Timeout Fixes: 483/fuzz-0-ffmpeg_VIDEO_AV_CODEC_ID_H263I_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/decoder_targeted: move to tools/target_dec_fuzzer.cRostislav Pehlivanov2017-01-29
| | | | | | | | Name and purpose are more appropriate there since the code isn't an ideal example. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* tools/zmqsend: Do not truncate fgetc() returnMichael Niedermayer2016-12-24
| | | | | | Fixes CID1396836 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* zmqsend: Initialize ret to 0Timothy Gu2016-12-05
| | | | Fixes CID1396857.
* tools/coverity: Add model for av_reallocPhilip Langdale2016-11-30
| | | | | Really should have done this last time. It should provide consistency across our allocations and frees.
* tools/coverity: Add models for av_mallocz and av_freePhilip Langdale2016-11-30
| | | | | | This should deal with some false positives, but might lead to more of them depending on whether it realises that av_freep() wraps av_free() or not.
* tools: add loudnorm script example to use loudnormMarton Balint2016-11-11
| | | | | | Based on a patch by Kyle Swanson <k@ylo.ph>. Signed-off-by: Marton Balint <cus@passwd.hu>
* tools: fix grammar errorMoritz Barsnick2016-10-09
| | | | | Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc: move out merge script to toolsClément Bœsch2016-09-25
|
* tools/crypto_bench: add support for desJames Almer2016-08-26
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: simplify gcrypt functions using a macroJames Almer2016-08-26
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* doc&tools: Add murge script, for analyzing 3 way conflicts.Michael Niedermayer2016-08-22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/patcheck: add a couple more common typosJames Almer2016-07-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'b8de14bcdf876c7e236a6dd2ad35342ff4b42cf8'Clément Bœsch2016-06-23
|\ | | | | | | | | | | | | * commit 'b8de14bcdf876c7e236a6dd2ad35342ff4b42cf8': tools: Port to codec parameters API Merged-by: Clément Bœsch <clement@stupeflix.com>
| * tools: Port to codec parameters APIDiego Biurrun2016-05-17
| |
* | Merge commit '257f00ec1ab06a2a161f535036c6512f3fc8e801'Clément Bœsch2016-06-22
|\| | | | | | | | | | | | | * commit '257f00ec1ab06a2a161f535036c6512f3fc8e801': Split global .gitignore file into per-directory files Merged-by: Clément Bœsch <clement@stupeflix.com>
| * Split global .gitignore file into per-directory filesDiego Biurrun2016-05-13
| |
* | fix some a/an typosLou Logan2016-03-28
| | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* | avcodec: Remove libstagefrightDerek Buitenhuis2016-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It serves absolutely no purpose other than to confuse potentional Android developers about how to use hardware acceleration properly on the the platform. The stagefright "API" is not public, and the MediaCodec API is the proper way to do this. Furthermore, stagefright support in avcodec needs a series of magic incantations and version-specific stuff, such that using it actually provides downsides compared just using the actual Android frameworks properly, in that it is a lot more work and confusion to get it even running. It also leads to a lot of misinformation, like these sorts of comments (in [1]) that are absolutely incorrect. [1] http://stackoverflow.com/a/29362353/3115956 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | tools/bookmarklets: HTML code fixesReto Kromer2015-12-25
| | | | | | | | | | | | Minor HTML5 code changes. Closes #167
* | patcheck: Fix false detection of 'mergeable calls' when line is removedHagen Schmidt2015-11-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-27
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
| * tools: Drop a stale headerLuca Barbato2015-08-31
| |
* | Merge commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78'Hendrik Leppkes2015-09-07
|\| | | | | | | | | | | | | * commit '87e5d8d78cf08b54b4a9e7cbaeff89f8c1d91b78': ismindex: Use the correct abs() version Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * ismindex: Use the correct abs() versionVittorio Giovara2015-08-31
| |
* | graph2dot: use avfilter_pad_get_name accessor functionAndreas Cadhalpun2015-08-20
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | crypto_bench: add support for ripemd-128James Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for xteaJames Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for rc4James Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | crypto_bench: add support for blowfishJames Almer2015-08-13
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '30dfc1dad4285e7362ce3f596d7c5d5d9b7fb33d'Michael Niedermayer2015-06-12
|\| | | | | | | | | | | | | * commit '30dfc1dad4285e7362ce3f596d7c5d5d9b7fb33d': cws2fws: Close file handles on error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cws2fws: Close file handles on errorVittorio Giovara2015-06-12
| | | | | | | | Reported-By: infer
* | tools/graph2dot: use larger data types than int for array/string sizesMichael Niedermayer2015-05-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/cws2fws: Use a similar implementation in dbgprintf() as in ff_dlog()Michael Niedermayer2015-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/sidxindex: Use av_*malloc_array()Michael Niedermayer2015-04-01
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '30a041887f89cd97c372ad6a516da6e012f2c88b'Michael Niedermayer2015-03-19
|\| | | | | | | | | | | | | * commit '30a041887f89cd97c372ad6a516da6e012f2c88b': ismindex: Calculate the pts duration of trun atoms, not the dts duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ismindex: Calculate the pts duration of trun atoms, not the dts durationMartin Storsjö2015-03-19
| | | | | | | | | | | | | | Since the duration is compared to the tfra durations/intervals which are expressed in pts, calculate that here as well. Signed-off-by: Martin Storsjö <martin@martin.st>
* | tools/graph2dot: Check for av_malloc() failureMichael Niedermayer2015-02-22
| | | | | | | | | | | | Fixes CID1271047 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/trasher: Check fseek returnsMichael Niedermayer2015-02-22
| | | | | | | | | | | | Fixes CID733726 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add coverity model fileMichael Niedermayer2015-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comments/header of the file are taken from qemu, they provide some basic documentation The code from the examples Ive no means to test this except uploading to coverity for FFmpeg, so each commit should stay simple, making it easy to revert. Also please help making this a useful and effective file by contributing changes/code to it and reviewing contributions. I am happy to upload changes but i cannot really maintain this (alone) as i cannot test changes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools: added twofish supportSupraja Meedinti2015-02-21
| | | | | | | | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/crypto_bench: add Camellia supportJames Almer2015-01-26
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* | tools/uncoded_frame: Use avio_closep() to avoid leaving stale pointers in memoryMichael Niedermayer2015-01-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/ismindex.c: Use av_realloc_array()Michael Niedermayer2015-01-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | tools/ismindex: Keep count fields consistent with arrays in case of errorsMichael Niedermayer2015-01-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '470c9db11ff2c3249e995e7ba68e87bb81bf778c'Michael Niedermayer2015-01-03
|\| | | | | | | | | | | | | * commit '470c9db11ff2c3249e995e7ba68e87bb81bf778c': sidxindex: Remove parsing that isn't necessary any longer Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sidxindex: Remove parsing that isn't necessary any longerMartin Storsjö2015-01-03
| | | | | | | | | | | | | | When we don't adjust the Period start time, we don't need to parse the earliest_presentation_time from the sidx boxes either. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '5cf6bda6e2eae496e8eb2bb06c96852d59a58b8a'Michael Niedermayer2015-01-03
|\| | | | | | | | | | | | | * commit '5cf6bda6e2eae496e8eb2bb06c96852d59a58b8a': sidxindex: Don't adjust the Period start time depending on the track start time Merged-by: Michael Niedermayer <michaelni@gmx.at>