Skip to content

pre_compile

Module for pre-compiling FFmpeg source code.

This module handles the preprocessing of FFmpeg C source code to make it easier to parse and analyze. It runs the FFmpeg configure script if needed, modifies configuration files to enable all components, and uses the C preprocessor to expand macros and includes in the source files, producing preprocessed versions that are more amenable to regex-based parsing.

Functions:

Name Description
precompile

Pre-compile the ffmpeg source code.

precompile

precompile() -> None

Pre-compile the ffmpeg source code.

Raises:

Type Description
CalledProcessError

If the configure script fails.