Skip to content

Add static code analysis workflow with Cppcheck #1

Add static code analysis workflow with Cppcheck

Add static code analysis workflow with Cppcheck #1

Triggered via push October 19, 2025 16:49
Status Failure
Total duration 1m 22s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Cppcheck: src/modules/core/transition_composite.c#L1146
There is an unknown macro here somewhere. Configuration is required. If mlt_log_timings_begin is a macro then please configure it.
Cppcheck: src/modules/core/filter_luma.c#L93
syntax error
Cppcheck: src/melt/melt.c#L882
syntax error
Cppcheck: src/framework/mlt_pool.c#L187
Memory leak: release
Cppcheck: src/framework/mlt_image.c#L468
Array 'primaries[11]' accessed at index 43, which is out of bounds.
Cppcheck: src/framework/mlt_image.c#L467
Array 'primaries[11]' accessed at index 43, which is out of bounds.
Cppcheck: src/framework/mlt_image.c#L407
Array 'colorspaces[14]' accessed at index 55, which is out of bounds.
Cppcheck: src/framework/mlt_image.c#L406
Array 'colorspaces[14]' accessed at index 55, which is out of bounds.
Cppcheck: src/framework/mlt_animation.c#L745
Common realloc mistake: 'ret' nulled but not freed upon failure
Cppcheck: src/modules/plus/filter_loudness_meter.c#L175
Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'.
Cppcheck: src/modules/plus/filter_loudness_meter.c#L174
Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'.
Cppcheck: src/modules/plus/filter_loudness_meter.c#L156
Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'.
Cppcheck: src/modules/plus/filter_loudness_meter.c#L155
Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'.