Skip to main content

ProbeFn

Type Alias ProbeFn 

Source
pub type ProbeFn = fn(&[u8]) -> i32;
Expand description

Content sniffer: scores how strongly a byte prefix looks like this format, 0 (no match) to 100 (certain) — mirrors FFmpeg’s AVInputFormat::read_probe.