[][src]Function ffav_sys::swr_inject_silence

pub unsafe extern "C" fn swr_inject_silence(
    s: *mut SwrContext,
    count: c_int
) -> c_int

Injects the specified number of silence samples.

This function, along with swr_drop_output(), is called by swr_next_pts() if needed for "hard" compensation.

@param s allocated Swr context @param count number of samples to be dropped

@return >= 0 on success, or a negative AVERROR code on failure