Lines Matching defs:tag
39 AVDictionaryEntry *tag;
40 if ((tag = av_dict_get(s->metadata, key, NULL, 0)))
41 av_strlcpy(buf, tag->value, buf_size);
42 return !!tag;
47 AVDictionaryEntry *tag;
54 /* we knowingly overspecify each tag length by one byte to compensate for the mandatory null byte added by av_strlcpy */
60 if ((tag = av_dict_get(s->metadata, "TRCK", NULL, 0))) { //track
62 buf[126] = atoi(tag->value);
66 if ((tag = av_dict_get(s->metadata, "TCON", NULL, 0))) { //genre
68 if (!av_strcasecmp(tag->value, ff_id3v1_genre_str[i])) {
184 + 4 // xing tag
361 /* write the id3v1 tag */