//enum AVCodecID av_codec_get_id (const struct AVCodecTag *const *tags, unsigned int tag) //Get the AVCodecID for the given codec tag tag. func Av_codec_get_id(t **AVCodecTag, tag uint) AVCodecID { return (AVCodecID)(C.av_codec_get_id((**C.struct_AVCodecTag)(unsafe.Pointer(t)), C.uint(tag))) }
//enum CodecId av_codec_get_id (const struct AvCodecTag *const *tags, unsigned int tag) //Get the CodecId for the given codec tag tag. func AvCodecGetId(t **AvCodecTag, tag uint) CodecId { return (CodecId)(C.av_codec_get_id((**C.struct_AVCodecTag)(unsafe.Pointer(t)), C.uint(tag))) }
func (ctm *CodecTagList) IDByTag(tag uint) avcodec.CodecID { return (avcodec.CodecID)(C.av_codec_get_id(ctm.CAVCodecTag, (C.uint)(tag))) }