42 while (*str && *str < 128) str++;
105 if (t->
key[0] !=
'T' || strlen(t->
key) != 4)
108 for (i = 0; *table[i]; i++)
118 const char *key, *
value;
119 char year[5] = {0}, day_month[5] = {0};
128 while (value[i] >=
'0' && value[i] <=
'9') i++;
129 if (value[i] ==
'\0' || value[i] ==
'-') {
133 if (value[i] ==
'-' &&
134 value[i+1] >=
'0' && value[i+1] <=
'1' &&
135 value[i+2] >=
'0' && value[i+2] <=
'9' &&
137 value[i+4] >=
'0' && value[i+4] <=
'3' &&
138 value[i+5] >=
'0' && value[i+5] <=
'9' &&
139 (value[i+6] ==
'\0' || value[i+6] ==
' ')) {
140 snprintf(day_month,
sizeof(day_month),
"%.2s%.2s", value + i + 4, value + i + 1);
232 if (dyn_bc && !dyn_buf)
264 const char *mimetype = NULL, *desc =
"";
272 mimetype = mime->
str;
279 "write an attached picture.\n", st->
index);
330 if (padding_bytes < 0)
339 padding_bytes = av_clip(padding_bytes, 10, 268435455 - id3->
len);
341 id3->
len += padding_bytes;