Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2021-09-20Replace all occurences of av_mallocz_array() by av_calloc()Andreas Rheinhardt
They do the same. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-19tools/target_dec_fuzzer: Adjust VC1 thresholdMichael Niedermayer
Fixes: Timeout Fixes: 38215/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-6375595299176448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-16tools/dvd2concat: generate VOBSUB extradataNicolas George
The extradata contains the frame size of the subtitles images and the palette.
2021-09-16tools/dvd2concat: add support for chaptersNicolas George
2021-09-16tools/dvd2concat: specify stream_codec for subtitlesNicolas George
Avoid requiring a huge probe size and analyze duration.
2021-09-16tools/dvd2concat: include language metadataNicolas George
2021-09-14tools/target_dec_fuzzer: Adjust threshold for WMV3Michael Niedermayer
Fixes: Timeout clearing images Fixes: 37726/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-4604669570187264 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-14tools/target_bsf_fuzzer: Make it const-correctAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-14configure: Remove null_bsf dependencyAndreas Rheinhardt
Unneeded since c96904f525afcaba756a5ce8511a3ee1aa9fd2d7 (a bsf-list with zero bsfs is used since that commit). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-22tools/dvd2concat: use option keywordNicolas George
subfile,,start,X,end,Y,,: is ugly and will be gone some day.
2021-08-22tools/dvd2concat: document that -protocol_whitelist is neededNicolas George
2021-08-08FATE: add a test for sliced scalingAnton Khirnov
2021-08-08tools/venc_data_dump: factor out demux/decode codeAnton Khirnov
It can be shared with other simple demux/decode tools.
2021-08-06tools/target_dec_fuzzer: check max samples in flush loopMichael Niedermayer
Fixes: Timeout Fixes: 36020/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-4774629855068160 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-28tools/target_dec_fuzzer: Adjust threshold for VP6FMichael Niedermayer
Fixes: Timeout Fixes: 34791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6F_fuzzer-4571038838030336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-28tools/target_dec_fuzzer: Adjust the threshold for VP5Michael Niedermayer
Fixes: Timeout Fixes: 35793/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP5_fuzzer-6492854393372672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-28tools/target_dec_fuzzer: Adjust the threshold for VP3Michael Niedermayer
Fixes: Timeout Fixes: 35855/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4851183540895744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-28tools/target_dec_fuzzer: Fix extradata duplicationMichael Niedermayer
Fixes: out of array access Fixes: 36340/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5872546875572224.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-24tools/graph2dot: Don't use sizeof(AVFilterGraph), check allocationAndreas Rheinhardt
Use avfilter_graph_alloc() instead of av_mallocz(sizeof(AVFilterGraph)) to allocate an AVFilterGraph; this also properly allocates the graph's internal. The current code just happened to work because it did not make any use of said internal. Also check the allocation; this fixes Coverity #1292528. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-23tools/target_dec_fuzzer: Adjust threshold for libvorbisMichael Niedermayer
Fixes: Timeout Fixes: 33513/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBVORBIS_fuzzer-6481006635909120 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-22Remove unnecessary mem.h inclusionsAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Don't include cpu.hAndreas Rheinhardt
It is not used here at all; instead, add it where it is used without including it or any of the arch-specific CPU headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Stop including bsf.h in avcodec.hAndreas Rheinhardt
Also include bsf.h directly wherever it is used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-17tools/target_dec_fuzzer: Fuzz FF_DEBUG_*Michael Niedermayer
This should increase coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-17tools/target_dec_fuzzer: Fuzz AV_CODEC_FLAG2_EXPORT_MVSMichael Niedermayer
This should increase coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-17tools/target_dec_fuzzer: Set extradata for the parserMichael Niedermayer
This should improve coverage Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-17tools/target_dec_fuzzer: Fuzz skip_frameMichael Niedermayer
Should allow coverage of related code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-06tools/target_dec_fuzzer: move maximum variables into functionMichael Niedermayer
This fixes an issue when multiple cases are fuzzed in a single run and the limits are adjusted by more than the iteration limit. In that case the adjusted limit leaked back into the global limit causing the fuzzer to become ineffective after several iterations, MSS2 was affected by this for example. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-03tools/cws2fws: Check read() for failureMichael Niedermayer
Fixes: CID1452579 Argument cannot be negative Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-07-03tools/target_dec_fuzzer: Adjust threshold for theoraMichael Niedermayer
Fixes: Timeout Fixes: 33916/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-4620863119949824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-06-10tools/uncoded_frame: include required headers explicitlyAnton Khirnov
2021-05-13tools/target_dec_fuzzer: Adjust threshold for TAKMichael Niedermayer
Fixes: Timeout Fixes: 33346/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-4715352157192192 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-05-13tools/target_dec_fuzzer: Adjust threshold for jpeg2000Michael Niedermayer
Fixes: Timeout (25->4sec) Fixes: 32780/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-6017852583837696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-04-29avfilter/dnn/dnn_backend_tf: simplify the code with ff_hex_to_dataLimin Wang
please use tools/python/tf_sess_config.py to get the sess_config after that. note the byte order of session config is in normal order. bump the MICRO version for the config change. Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-04-27avcodec/codec, allcodecs: Constify the AVCodec APIAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27libavresample: Remove deprecated libraryAndreas Rheinhardt
Deprecated in c29038f3041a4080342b2e333c1967d136749c0f. The resample filter based upon this library has been removed as well. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-22tools/target_dec_fuzzer: Adjust threshold for paf videoMichael Niedermayer
Fixes: Timeout (long -> 2sec) Fixes: 32790/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PAF_VIDEO_fuzzer-5497584169910272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-04-20tools/target_dec_fuzzer: adjust threshold for arbcMichael Niedermayer
Fixes: Timeout (63sec -> 48ms) Fixes: 31886/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5287235705503744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-04-20tools/target_dec_fuzzer: Adjust threshold for TSCCMichael Niedermayer
Fixes: Timeout Fixes: 31850/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TSCC_fuzzer-5940231289307136 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-04-01tools/target_dem_fuzzer: Fix packet leakMichael Niedermayer
Fixes: 32121/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-4512973109460992 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-03-29tools/target_dec_fuzzer: Adjust threshold for H264Michael Niedermayer
Fixes: Timeout (too long -> 3sec) Fixes: 28047/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-4662727980875776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-03-29tools/target_dec_fuzzer: Compute CLUT for DVBSUB only onceMichael Niedermayer
Fixes: Timeout Fixes: 30845/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DVBSUB_fuzzer-5744263725973504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-03-26tools/target_dec_fuzzer: Adjust threshold for flacMichael Niedermayer
Fixes: Timeout Fixes: 31464/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-4843965653319680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-03-26tools/target_dec_fuzzer: Adjust VP4 thresholdMichael Niedermayer
Fixes: Timeout (>10sec -> <100ms) Fixes: 31515/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP4_fuzzer-5247114134290432 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-03-24lavfi/dnn/dnn_backend_native_layer_mathunary: add exp supportWenlong Ding
Signed-off-by: Wenlong Ding <wenlong.ding@intel.com>
2021-03-17tools/target_bsf_fuzzer: use av_packet_alloc() to allocate packetsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-03-17tools/target_dem_fuzzer: use av_packet_alloc() to allocate packetsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-03-17tools/target_dec_fuzzer: use av_packet_alloc() to allocate packetsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-03-17tools/pktdumper: use av_packet_alloc() to allocate packetsJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-03-09tools/target_dec_fuzzer: Adjust flv1 thresholdMichael Niedermayer
Fixes: Timeout (long -> 95ms) Fixes: 29068/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLV_fuzzer-6509662832820224 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>