pub unsafe extern "C" fn avformat_query_codec(
ofmt: *const AVOutputFormat,
codec_id: AVCodecID,
std_compliance: c_int,
) -> c_int
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.