跳到主要内容

av_codec_get_tag

搜索

函数 av_codec_get_tag 

源代码
pub unsafe extern "C" fn av_codec_get_tag(
    tags: *const *const AVCodecTag,
    id: AVCodecID,
) -> c_uint
展开描述

Get the codec tag for the given codec id id. If no codec tag is found returns 0.

@param tags list of supported codec_id-codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag @param id codec ID to match to a codec tag