Mirror of https://git.ffmpeg.org/ffmpeg.git
This report summarizes scanner evidence for FFmpeg/FFmpeg, a C project with 66,108 GitHub stars. SynthScan examined 1,893,042 lines of code across 4833 source files, recording 1645 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1643 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 1645 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1645 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_arm_indent.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/target_dec_fuzzer.c | 41 | */ | COMMENT |
| LOW | tools/pktdumper.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/target_swr_fuzzer.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/check_commit_msg.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/check_commit_msg.sh | 21 | # along with FFmpeg; if not, write to the Free Software Foundation, Inc., | COMMENT |
| LOW | tools/check_commit_msg.sh | 41 | # | COMMENT |
| LOW | tools/enc_recon_frame_test.c | 21 | /* A test for AV_CODEC_FLAG_RECON_FRAME | COMMENT |
| LOW | tools/fourcc2pixfmt.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/cws2fws.c | 1 | /* | COMMENT |
| LOW | tools/qt-faststart.c | 21 | * to be a moov atom. When given such a file, this utility will rearrange | COMMENT |
| LOW | tools/qt-faststart.c | 81 | #define FREE_ATOM QT_ATOM('f', 'r', 'e', 'e') | COMMENT |
| LOW | tools/crypto_bench.c | 21 | /* Optional external libraries; can be enabled using: | COMMENT |
| LOW | tools/crypto_bench.c | 341 | * mbedcrypto: mbed TLS | COMMENT |
| LOW | tools/target_enc_fuzzer.c | 21 | */ | COMMENT |
| LOW | tools/ffescape.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/zmqsend.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/ffhash.c | 21 | */ | COMMENT |
| LOW | tools/graph2dot.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/target_dec_fate.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/indent_arm_assembly.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | tools/indent_arm_assembly.pl | 21 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | COMMENT |
| LOW | tools/indent_arm_assembly.pl | 121 | if ($rest !~ /,/) { | COMMENT |
| LOW | tools/ffeval.c | 21 | #include "config.h" | COMMENT |
| LOW | tools/scale_slice_test.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | tools/probetest.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | tools/python/tf_sess_config.py | 1 | # Copyright (c) 2021 | COMMENT |
| LOW | compat/w32dlfcn.h | 121 | } | COMMENT |
| LOW | compat/w32dlfcn.h | 141 | av_free(name_w); | COMMENT |
| LOW | compat/os2threads.h | 21 | /** | COMMENT |
| LOW | compat/stdbit/stdbit.h | 21 | COMMENT | |
| LOW | compat/cuda/cuda_runtime.h | 21 | */ | COMMENT |
| LOW | compat/cuda/cuda_runtime.h | 101 | } | COMMENT |
| LOW | compat/cuda/dynlink_loader.h | 21 | COMMENT | |
| LOW | compat/atomics/stdatomic.h | 121 | #define kill_dependency(y) (y) | COMMENT |
| LOW | compat/atomics/win32/stdatomic_impl.h | 301 | #undef WIN32_ATOMIC_XCHG_REL | COMMENT |
| LOW | compat/float/float.h | 21 | #include_next <float.h> | COMMENT |
| LOW | compat/float/limits.h | 21 | #include_next <limits.h> | COMMENT |
| LOW | compat/android/math.h | 21 | COMMENT | |
| LOW | compat/windows/mscl.c | 41 | #include <stdlib.h> | COMMENT |
| LOW | compat/solaris/make_sunver.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | compat/solaris/make_sunver.pl | 21 | COMMENT | |
| LOW | libavfilter/af_aspectralstats.c | 21 | #include <float.h> | COMMENT |
| LOW | libavfilter/vf_hflip.c | 21 | COMMENT | |
| LOW | libavfilter/vf_mestimate_d3d12.c | 21 | */ | COMMENT |
| LOW | libavfilter/vf_paletteuse.c | 21 | COMMENT | |
| LOW | libavfilter/signature.h | 21 | /** | COMMENT |
| LOW | libavfilter/vf_overlay_cuda.c | 21 | /** | COMMENT |
| LOW | libavfilter/vf_scale.c | 21 | /** | COMMENT |
| LOW | libavfilter/vf_pad.c | 21 | COMMENT | |
| LOW | libavfilter/vf_ssim360.c | 41 | * Calculate the SSIM between two input 360 videos. | COMMENT |
| LOW | libavfilter/vf_ssim360.c | 61 | #define FRONT 4 | COMMENT |
| LOW | libavfilter/vf_shufflepixels.c | 21 | #include "libavutil/avassert.h" | COMMENT |
| LOW | libavfilter/vf_fftfilt.c | 21 | COMMENT | |
| LOW | libavfilter/vsrc_life.c | 21 | /** | COMMENT |
| LOW | libavfilter/vf_fspp.c | 41 | #include "libavutil/mem_internal.h" | COMMENT |
| LOW | libavfilter/vf_minterpolate.c | 21 | COMMENT | |
| LOW | libavfilter/vf_blend.c | 21 | #include "config_components.h" | COMMENT |
| LOW | libavfilter/af_ashowinfo.c | 21 | /** | COMMENT |
| LOW | libavfilter/avf_showcqt.c | 21 | #include "config.h" | COMMENT |
| 1557 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/indent_arm_assembly.pl | 101 | # don't try to realign the line at all, just return the input | COMMENT |
| LOW | tools/indent_arm_assembly.pl | 195 | # Not enough space for the label; just add a space between the label | COMMENT |
| MEDIUM | libavformat/movenc.c | 765 | // in the case of fragmented MP4, utilize the following values as | COMMENT |
| MEDIUM | libavformat/movenc.c | 785 | // utilize values from properties if we have them available | COMMENT |
| MEDIUM | libavformat/mpegtsenc.c | 340 | // Here we utilize a pre-defined set of values defined in ARIB TR-B14, | COMMENT |
| LOW | libavformat/avformat.h | 1560 | #define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in the | COMMENT |
| MEDIUM | libavcodec/mfenc.c | 189 | // (Certainly any lossy codec will have frames much smaller than 1 second.) | COMMENT |
| MEDIUM | libavcodec/cbs_jpeg.c | 97 | // Definitely too short to be meaningful. | COMMENT |
| MEDIUM | libavcodec/aac/aacdec.c | 410 | // For everything else, utilize the AV channel position define as a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/check_commit_msg.sh | 8 | # This file is part of FFmpeg. | COMMENT |
| MEDIUM | tools/python/tf_sess_config.py | 3 | # This file is part of FFmpeg. | COMMENT |
| MEDIUM | compat/solaris/make_sunver.pl | 8 | # This file is free software; you can redistribute it and/or modify it | COMMENT |
| MEDIUM | doc/texi2pod.pl | 5 | # This file is part of GNU CC. | COMMENT |
| MEDIUM | doc/t2h.pm | 7 | # This file is part of FFmpeg. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | libavformat/avformat.h | 1575 | #define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer | COMMENT |
| HIGH | libavformat/avformat.h | 1575 | #define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/zmqshell.py | 62 | except KeyboardInterrupt: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/python/tf_sess_config.py | 18 | # ============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libavformat/dss.c | 269 | /* We make one byte-step here. Don't forget to add offset. */ | COMMENT |
| LOW | libavformat/matroskaenc.c | 2880 | // Don't forget to increment the number of BlockMore when adding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/checkasm/ext/include/checkasm/utils.h | 735 | * @def checkasm_check_rect_padded(rect1, ...) | COMMENT |
| LOW | tests/checkasm/ext/include/checkasm/utils.h | 745 | * @def checkasm_check_rect_padded_align(rect1, ...) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libavcodec/j2kenc.c | 1681 | // TODO: implement setting non-standard precinct size | COMMENT |
| LOW | libavcodec/opus/silk.c | 671 | // TODO: implement error recovery | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .forgejo/inject-pr-samples.py | 61 | CODE | |
| LOW | .forgejo/inject-pr-samples.py | 104 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update-checkasm.sh | 12 | # Set IFS to contain only a newline, no regular space, to make the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_commit_msg.sh | 26 | # Usage: | COMMENT |