mod ffmpeg;
mod nalu;
mod sps;
mod version;
pub use ffmpeg::{Error, FFmpegCliH264Decoder};
pub use version::{
FFmpegVersion, FFmpegVersionParseError, FFMPEG_MINIMUM_VERSION_MAJOR,
FFMPEG_MINIMUM_VERSION_MINOR,
};
/// Download URL for the latest version of `FFmpeg` on the current platform.
/// None if the platform is not supported.
// TODO(andreas): as of writing, ffmpeg-sidecar doesn't define a download URL for linux arm.
pub fn ffmpeg_download_url() -> Option<&'static str> {
ffmpeg_sidecar::download::ffmpeg_download_url().ok()
}