pub fn init_ffmpeg() -> Result<()> {
    ffmpeg4::init().chain_err(|| "Initializing ffmpeg")?;
    unsafe { ffmpeg4_sys::av_log_set_callback(Some(logging::log_callback)) };

    Ok(())
}
/// Initializes ffmpeg and the custom logging callback.
Initializes ffmpeg and the custom logging callback.
Initializes ffmpeg and the custom logging callback .
pub fn init_ffmpeg() -> Result<()> {
    ffmpeg4::init().chain_err(|| "Initializing ffmpeg")?;
    unsafe { ffmpeg4_sys::av_log_set_callback(Some(logging::log_callback)) };
    Ok(())
}
pub fn init_ffmpeg ( ) -> Result < ( ) > { ffmpeg4 :: init ( ) . chain_err ( | | " " ) ? ; unsafe { ffmpeg4_sys :: av_log_set_callback ( Some ( logging :: log_callback ) ) } ; Ok ( ( ) ) }
Initializes ffmpeg and the custom logging callback.
Initializes ffmpeg and the custom logging callback .