aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/pktdumper: dump extradata buffersPeter Ross13 days1-2/+26
|
* tools: Remove libav-merge-next-commitDerek Buitenhuis14 days1-22/+0
| | | | | | Libav is no longer extant. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tools/target_dec_fuzzer: adjust threshold for VP8Michael Niedermayer2025-06-231-0/+1
| | | | | | | | Fixes: Timeout Fixes: 416589179/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP8_fuzzer-5432788428062720 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust RV60 thresholdMichael Niedermayer2025-06-231-0/+1
| | | | | | | | Fixes: Timeout Fixes: 410324670/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60_fuzzer-5697706586865664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dem_fuzzer: remove unused fuzz_tagKacper Michajłow2025-06-071-3/+0
| | | | | Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dem_fuzzer: make fuzz data pointer constantKacper Michajłow2025-06-071-1/+1
| | | | | | | Mostly to avoid warnings. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: suppress Wunused-functionKacper Michajłow2025-06-071-0/+3
| | | | | Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/merge-all-source-plugins: Check that there are no uncommited changesMichael Niedermayer2025-05-151-0/+11
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/merge-all-source-plugins: Try merging a tag or branch matching the ↵Michael Niedermayer2025-05-151-1/+25
| | | | | | current version Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Add tools/merge-all-source-pluginsMichael Niedermayer2025-05-151-0/+3
| | | | | | Simple script to merge all source plugins. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for WEBPMichael Niedermayer2025-05-151-0/+1
| | | | | | | | Fixes: Timeout Fixes: 403345121/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-6408323910139904 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Remove libpostprocMichael Niedermayer2025-05-071-1/+0
| | | | | | | | | | | | | | | Libpostproc will be available as source plugin at https://github.com/michaelni/FFmpeg/tree/sourceplugin-libpostproc OR https://github.com/michaelni/libpostproc whatever turns out more convenient to maintain For the upcoming 8.0 release, libpostproc will be included, so as not to cause delays or inconveniences Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Assert on AVERROR_BUGAndreas Rheinhardt2025-04-251-2/+8
| | | | | | | This will bring these bugs to our attention. Reviewed-by: Kacper Michajlow <kasper93@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tools/target_dec_fuzzer: Remove mjpeg hackAndreas Rheinhardt2025-04-251-5/+0
| | | | | | | | | | | | | | ff_mjpeg_decoder is now referenced directly by the relevant decoders, so that the linker sees the dependency and just does the desired thing. So remove the hack. (Btw: The preprocessor does not do string comparisons, instead undefined tokens in #if checks evaluate to 0, making the check true regardless of the actual codec fuzzed (and leading to linker errors if the mjpeg decoder is disabled).) Reviewed-by: Kacper Michajlow <kasper93@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tools/aviocat: use av_err2strMarvin Scholz2025-04-221-9/+4
| | | | | There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used.
* tools/sidxindex: use av_err2strMarvin Scholz2025-04-221-5/+3
| | | | | There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used.
* tools/ismindex: use av_err2strMarvin Scholz2025-04-221-8/+4
| | | | | There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used.
* tools: Fix deprecation warning in patcheckLink Mauve2025-04-161-1/+1
| | | | | | | GNU apparently deprecated their egrep alias, replace it with 'grep -E' to avoid getting flooded with deprecation warnings. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() errorKacper Michajłow2025-04-031-3/+2
| | | | | Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/raw: Duplicate raw_pix_fmt_tags into fourcc2pixfmt toolAndreas Rheinhardt2025-03-281-3/+4
| | | | | | | | | | | | | | | | | | | Do this instead of exporting raw_pix_fmt_tags via avpriv_get_raw_pix_fmt_tags(). For shared builds this will lead to an increase in the combined size of the lavc and fourcc2pixfmt binaries (because the overhead of exporting avpriv_get_raw_pix_fmt_tags() is dwarfed by the size of the array), but given that fourcc2pixfmt is a test tool that is not widely distributed it does not really matter. For static builds the opposite is true (the rest of lavc/raw.o is no longer pulled into the test tool and the getter can be removed, too). This patch has the additional benefit of removing struct PixelFormatTag from the ABI. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tools: Add binaries to .gitignoreFrank Plowman2025-02-251-0/+10
| | | | | Signed-off-by: Frank Plowman <post@frankplowman.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* add tools/compare-cvelists.shMichael Niedermayer2025-02-241-0/+12
| | | | | | | | This compares the MITRE CVE list with our webpage security list and produces a diff, so people can investigate, fix, backport and correct differences Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_swr_fuzzer: do not use negative numbers of samplesMichael Niedermayer2025-01-211-1/+1
| | | | | | | | Fixes: signed integer overflow: -277109688 * 8 cannot be represented in type 'int' Fixes: 376118159/clusterfuzz-testcase-minimized-ffmpeg_SWR_fuzzer-5884436320681984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for MSCCMichael Niedermayer2025-01-081-0/+1
| | | | | | | | Fixes: Timeout Fixes: 377574369/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSCC_fuzzer-4924697608781824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for VP6Michael Niedermayer2025-01-081-0/+1
| | | | | | | | Fixes: Timeout (would need 62sec) Fixes: 376731123/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6_fuzzer-5926437896388608 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for TDSCMichael Niedermayer2025-01-081-0/+1
| | | | | | | | Fixes: Timeout Fixes: 376320337/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TDSC_fuzzer-6259585758855168 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for EACMVMichael Niedermayer2024-12-241-0/+1
| | | | | | | | Fixes: Timeout Fixes: 382988735/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EACMV_fuzzer-5278721465974784 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for SGAMichael Niedermayer2024-12-241-0/+1
| | | | | | | | Fixes: Timeout Fixes: 382804863/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SGA_fuzzer-5652795669151744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for MVC1Michael Niedermayer2024-12-241-0/+1
| | | | | | | | Fixes: Timeout Fixes: 378231213/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVC1_fuzzer-6640960500465664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust Threshold for indeo5Michael Niedermayer2024-12-241-0/+1
| | | | | | | | Fixes: 379768251/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5981329084186624 Fixes: Timeout Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/general_assembly: exclude Derek from GA emailsAnton Khirnov2024-11-281-0/+1
| | | | At his own request, he can remove the entry whenever he likes.
* tools/general_assembly: add a mechanism for excluding people from GA listAnton Khirnov2024-11-281-0/+9
| | | | | To be used at their own request, when they do not wish to receive vote emails.
* enc_recon_frame_test: don't print an error on EOF.Ronald S. Bultje2024-11-131-0/+2
| | | | | | | | | | Before: $ make tools/enc_recon_frame_test $ tools/enc_recon_frame_test ~/Movies/cif/bus_cif.y4m libx264 'tune=psnr' Error submitting a frame for encoding After: All 150 encoded frames match
* tools/target_swr_fuzzer: Limit the number of samplesMichael Niedermayer2024-09-241-0/+3
| | | | | | | | Fixes: OOM and Timeout Fixes: 71254/clusterfuzz-testcase-minimized-ffmpeg_SWR_fuzzer-5941896977907712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Add threshold for SRGCMichael Niedermayer2024-09-241-0/+1
| | | | | | | | Fixes: Timeout Fixes: 71234/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SRGC_fuzzer-5098445864501248 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adapt threshold for RASCMichael Niedermayer2024-09-241-1/+1
| | | | | | | | Fixes: Timeout Fixes: 71108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-4799330484027392 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_swr_fuzzer: Check av_samples_fill_arrays() for failureMichael Niedermayer2024-08-281-2/+7
| | | | | | | | Fixes: use of uninitialized value Fixes: 71242/clusterfuzz-testcase-minimized-ffmpeg_SWR_fuzzer-4905557943713792 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Check that FFv1 doesnt leave uninitialized memory ↵Michael Niedermayer2024-08-141-1/+8
| | | | | | | in its buffers Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Use av_buffer_allocz() to avoid missing slices to ↵Michael Niedermayer2024-08-101-1/+1
| | | | | | | | | | | | have unpredictable content This matches production code which also zeros these buffers Fixes: use of uninitialized values Fixes: 70885/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6F_fuzzer-4610946029387776 (and likely others) Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* add tools/target_swr_fuzzerMichael Niedermayer2024-08-082-0/+149
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for RV30Michael Niedermayer2024-07-161-1/+1
| | | | | | | | Fixes: Timeout Fixes: 69216/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV30_fuzzer-5808725188214784 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_enc_fuzzer: A64MULTI5 encoder is very slow, check and adjust ↵Michael Niedermayer2024-07-121-0/+1
| | | | | | | | | | threshold Fixes: Timeout Fixes: 68999/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_A64MULTI5_fuzzer-5078418784845824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_enc_fuzzer: A64MULTI encoder is very slow, check and adjust ↵Michael Niedermayer2024-07-121-1/+9
| | | | | | | | | | threshold Fixes: Timeout Fixes: 69097/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_A64MULTI_fuzzer-5062757287264256 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/coverity: Phase 1 study of anti-halicogenic for coverity av_rescale()Michael Niedermayer2024-07-071-0/+18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for MV30Michael Niedermayer2024-06-261-0/+1
| | | | | | | | Fixes: 60867/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-6381933108527104 Fixes: Timeout Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_dec_fuzzer: Adjust threshold for jpeg2000Michael Niedermayer2024-06-261-1/+1
| | | | | | | | Fixes: Timeout Fixes: 57385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5394334324490240 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/decode_simple: Check avcodec_send_packet() for errors on flushingMichael Niedermayer2024-05-281-2/+3
| | | | | | | | This will not error but the API allows errors so we should check it Fixes: CID1489999 Unchecked return value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/enc_recon_frame_test: Assert that av_image_get_linesize() succeedsMichael Niedermayer2024-05-281-0/+3
| | | | | | | Helps: CID1524598 Improper use of negative value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_enc_fuzzer: Only read pix_fmts if its setMichael Niedermayer2024-05-091-4/+6
| | | | | | | Fixes: null pointer dereference Fixes: rawvideo encoder Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools/target_enc_fuzzer: replace assert by clean exitMichael Niedermayer2024-05-091-1/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>