Function rsmpeg::ffi::avformat_query_codec[][src]

pub unsafe extern "C" fn avformat_query_codec(
    ofmt: *const AVOutputFormat,
    codec_id: u32,
    std_compliance: i32
) -> i32
Expand description

Test if the given container can store a codec.

@param ofmt container to check for compatibility @param codec_id codec to potentially store in container @param std_compliance standards compliance level, one of FF_COMPLIANCE_*

@return 1 if codec with ID codec_id can be stored in ofmt, 0 if it cannot. A negative number if this information is not available.