Michael Niedermayer
fd31df4306
tools: Split the list of source plugins out of "merge-all-source-plugins"
2025-08-13 11:50:52 +00:00
Michael Niedermayer
b5b306ca31
tools/merge-all-source-plugins: Fix merge_internal() return code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-08-13 11:50:52 +00:00
Kacper Michajłow
48b941d543
tools/fourcc2pixfmt: fix getopt return value type
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
2025-08-11 19:29:53 +00:00
Kacper Michajłow
082e2b26d4
tools/graph2dot: fix getopt return value type
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
2025-08-11 19:29:53 +00:00
Kacper Michajłow
c24b9b4b73
tools/target_fuzzer: don't spam stderr
...
Printing dummy logs during fuzzing can significantly slow the process
and blow the size of logs, making them both unredable and huge.
Keep the loggging commented-out for easy local restore if needed.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
2025-08-05 03:27:54 +02:00
Timo Rothenpieler
262d41c804
all: fix typos found by codespell
2025-08-03 13:48:47 +02:00
Michael Niedermayer
23c60ce742
tools/target_dec_fuzzer: Set ALS max order to 15 (ALS simple profile)
...
Fixes: Timeout
Fixes: 429645375/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5377900448907264
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-07-28 17:27:52 +02:00
Peter Ross
3b9dbda49b
tools/pktdumper: dump extradata buffers
2025-07-01 16:45:08 +10:00
Derek Buitenhuis
b58cca5a27
tools: Remove libav-merge-next-commit
...
Libav is no longer extant.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com >
2025-06-30 15:00:34 +01:00
Michael Niedermayer
f06474faf8
tools/target_dec_fuzzer: adjust threshold for VP8
...
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 >
2025-06-23 16:29:34 +02:00
Michael Niedermayer
6e5f47f6d3
tools/target_dec_fuzzer: Adjust RV60 threshold
...
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 >
2025-06-23 14:36:07 +02:00
Kacper Michajłow
d811966ba6
tools/target_dem_fuzzer: remove unused fuzz_tag
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-06-07 14:33:27 +02:00
Kacper Michajłow
dc9794d340
tools/target_dem_fuzzer: make fuzz data pointer constant
...
Mostly to avoid warnings.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-06-07 14:33:26 +02:00
Kacper Michajłow
ccfea9696f
tools/target_dec_fuzzer: suppress Wunused-function
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-06-07 14:33:26 +02:00
Michael Niedermayer
f51c385a8e
tools/merge-all-source-plugins: Check that there are no uncommited changes
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-05-15 16:19:59 +02:00
Michael Niedermayer
a06b86a09b
tools/merge-all-source-plugins: Try merging a tag or branch matching the current version
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-05-15 16:19:58 +02:00
Michael Niedermayer
12b853530a
Add tools/merge-all-source-plugins
...
Simple script to merge all source plugins.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-05-15 12:17:04 +02:00
Michael Niedermayer
8168ebdcc5
tools/target_dec_fuzzer: Adjust threshold for WEBP
...
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 >
2025-05-15 03:03:56 +02:00
Michael Niedermayer
8c920c4c39
Remove libpostproc
...
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 >
2025-05-07 15:35:47 +02:00
Andreas Rheinhardt
e73c59c6c3
tools/target_dec_fuzzer: Assert on AVERROR_BUG
...
This will bring these bugs to our attention.
Reviewed-by: Kacper Michajlow <kasper93@gmail.com >
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com >
2025-04-25 12:35:48 +02:00
Andreas Rheinhardt
0d9b0015ba
tools/target_dec_fuzzer: Remove mjpeg hack
...
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 >
2025-04-25 12:35:28 +02:00
Marvin Scholz
d0bcf62597
tools/aviocat: use av_err2str
...
There is no need to explicitly specify the buffer, as it
is only ever passed to fprintf, so av_err2str can be used.
2025-04-22 20:45:57 +02:00
Marvin Scholz
da38b2fcd2
tools/sidxindex: use av_err2str
...
There is no need to explicitly specify the buffer, as it
is only ever passed to fprintf, so av_err2str can be used.
2025-04-22 20:45:57 +02:00
Marvin Scholz
a903d6dade
tools/ismindex: use av_err2str
...
There is no need to explicitly specify the buffer, as it
is only ever passed to fprintf, so av_err2str can be used.
2025-04-22 20:45:57 +02:00
Link Mauve
50910c32c5
tools: Fix deprecation warning in patcheck
...
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 >
2025-04-16 13:09:02 +02:00
Kacper Michajłow
2a2b5aec5b
tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() error
...
Signed-off-by: Kacper Michajłow <kasper93@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-04-03 01:58:07 +02:00
Andreas Rheinhardt
aaf3cd9ddb
avcodec/raw: Duplicate raw_pix_fmt_tags into fourcc2pixfmt tool
...
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 >
2025-03-28 14:33:31 -03:00
Frank Plowman
a37f634383
tools: Add binaries to .gitignore
...
Signed-off-by: Frank Plowman <post@frankplowman.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2025-02-25 02:03:58 +01:00
Michael Niedermayer
4ff1d1f3d6
add tools/compare-cvelists.sh
...
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 >
2025-02-24 15:39:03 +01:00
Michael Niedermayer
90ff3ae976
tools/target_swr_fuzzer: do not use negative numbers of samples
...
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 >
2025-01-21 22:55:10 +01:00
Michael Niedermayer
695b7c71d9
tools/target_dec_fuzzer: Adjust threshold for MSCC
...
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 >
2025-01-08 23:23:26 +01:00
Michael Niedermayer
70514ff0ec
tools/target_dec_fuzzer: Adjust threshold for VP6
...
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 >
2025-01-08 23:23:26 +01:00
Michael Niedermayer
4bd9b5f520
tools/target_dec_fuzzer: Adjust threshold for TDSC
...
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 >
2025-01-08 23:23:25 +01:00
Michael Niedermayer
8f4eb0fe03
tools/target_dec_fuzzer: Adjust threshold for EACMV
...
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 >
2024-12-24 02:55:51 +01:00
Michael Niedermayer
fe1aeb499b
tools/target_dec_fuzzer: Adjust threshold for SGA
...
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 >
2024-12-24 02:55:51 +01:00
Michael Niedermayer
e7230bc503
tools/target_dec_fuzzer: Adjust threshold for MVC1
...
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 >
2024-12-24 02:55:50 +01:00
Michael Niedermayer
89efc6c97c
tools/target_dec_fuzzer: Adjust Threshold for indeo5
...
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 >
2024-12-24 02:46:47 +01:00
Anton Khirnov
3bfb6061fb
tools/general_assembly: exclude Derek from GA emails
...
At his own request, he can remove the entry whenever he likes.
2024-11-28 15:51:37 +01:00
Anton Khirnov
9cb8928d69
tools/general_assembly: add a mechanism for excluding people from GA list
...
To be used at their own request, when they do not wish to receive vote
emails.
2024-11-28 15:51:37 +01:00
Ronald S. Bultje
a5dabfc9c0
enc_recon_frame_test: don't print an error on EOF.
...
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
2024-11-13 09:26:22 -05:00
Michael Niedermayer
6190e82647
tools/target_swr_fuzzer: Limit the number of samples
...
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 >
2024-09-24 15:37:18 +02:00
Michael Niedermayer
5ded752241
tools/target_dec_fuzzer: Add threshold for SRGC
...
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 >
2024-09-24 15:37:18 +02:00
Michael Niedermayer
9a823fbcfa
tools/target_dec_fuzzer: Adapt threshold for RASC
...
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 >
2024-09-24 15:37:17 +02:00
Michael Niedermayer
46e3bc2ebd
tools/target_swr_fuzzer: Check av_samples_fill_arrays() for failure
...
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 >
2024-08-28 16:27:55 +02:00
Michael Niedermayer
e40b23c52a
tools/target_dec_fuzzer: Check that FFv1 doesnt leave uninitialized memory in its buffers
...
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2024-08-14 18:20:57 +02:00
Michael Niedermayer
1b8d95da3a
tools/target_dec_fuzzer: Use av_buffer_allocz() to avoid missing slices to 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 >
2024-08-10 15:04:46 +02:00
Michael Niedermayer
d2a25dc2bf
add tools/target_swr_fuzzer
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2024-08-08 15:26:52 +02:00
Michael Niedermayer
8a4e5e0e15
tools/target_dec_fuzzer: Adjust threshold for RV30
...
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 >
2024-07-16 18:43:15 +02:00
Michael Niedermayer
12dab3860c
tools/target_enc_fuzzer: A64MULTI5 encoder is very slow, check and adjust 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 >
2024-07-12 22:44:19 +02:00
Michael Niedermayer
032e831ab4
tools/target_enc_fuzzer: A64MULTI encoder is very slow, check and adjust 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 >
2024-07-12 22:44:17 +02:00