Function rsmpeg::ffi::av_get_packed_sample_fmt [−][src]
pub unsafe extern "C" fn av_get_packed_sample_fmt(sample_fmt: i32) -> i32
Expand description
Get the packed alternative form of the given sample format.
If the passed sample_fmt is already in packed format, the format returned is the same as the input.
@return the packed alternative form of the given sample format or AV_SAMPLE_FMT_NONE on error.