Lines Matching defs:frametype
37 # include "frametype.h"
69 struct id3_frametype const *frametype;
76 frametype = id3_frametype_lookup(id, 4);
77 if (frametype == 0) {
80 frametype = &id3_frametype_text;
84 frametype = &id3_frametype_url;
90 frametype = &id3_frametype_experimental;
94 frametype = &id3_frametype_unknown;
96 frametype = &id3_frametype_obsolete;
101 frame = malloc(sizeof(*frame) + frametype->nfields * sizeof(*frame->fields));
109 frame->description = frametype->description;
111 frame->flags = frametype->defaultflags;
117 frame->nfields = frametype->nfields;
121 id3_field_init(&frame->fields[i], frametype->fields[i]);