Skip to main content

open_source

Function open_source 

Source
pub fn open_source(
    source: Box<dyn Source>,
) -> Result<Box<dyn ContainerReader>, DemuxError>
Expand description

Opens the file source holds with the demuxer its first bytes call for.

ยงErrors

DemuxError::Unsupported for a format this layer does not read; read or parse failures.