Function rsmpeg::ffi::av_codec_get_tag2[][src]

pub unsafe extern "C" fn av_codec_get_tag2(
    tags: *const *const AVCodecTag,
    id: u32,
    tag: *mut u32
) -> i32
Expand description

Get the codec tag for the given codec id.

@param tags list of supported codec_id - codec_tag pairs, as stored in AVInputFormat.codec_tag and AVOutputFormat.codec_tag @param id codec id that should be searched for in the list @param tag A pointer to the found tag @return 0 if id was not found in tags, > 0 if it was found