Home
last modified time | relevance | path

Searched refs:albumart (Results 1 - 4 of 4) sorted by relevance

/third_party/lame/libmp3lame/
H A Did3tag.h46 unsigned char *albumart; member
H A Dutil.c70 if (gfc->tag_spec.albumart != 0) { in free_id3tag()
71 free(gfc->tag_spec.albumart); in free_id3tag()
72 gfc->tag_spec.albumart = 0; in free_id3tag()
H A Did3tag.c643 if (gfc->tag_spec.albumart != 0) { in id3tag_set_albumart()
644 free(gfc->tag_spec.albumart); in id3tag_set_albumart()
645 gfc->tag_spec.albumart = 0; in id3tag_set_albumart()
652 gfc->tag_spec.albumart = lame_calloc(unsigned char, size); in id3tag_set_albumart()
653 if (gfc->tag_spec.albumart != 0) { in id3tag_set_albumart()
654 memcpy(gfc->tag_spec.albumart, image, size); in id3tag_set_albumart()
1696 if (gfc->tag_spec.albumart && gfc->tag_spec.albumart_size) { in lame_get_id3v2_tag()
1787 p = set_frame_apic(p, albumart_mime, gfc->tag_spec.albumart, in lame_get_id3v2_tag()
/third_party/lame/frontend/
H A Dparse.c1474 char *albumart = 0; in set_id3_albumart() local
1479 albumart = (char *)malloc(size); in set_id3_albumart()
1480 if (!albumart) { in set_id3_albumart()
1484 if (fread(albumart, 1, size, fpi) != size) { in set_id3_albumart()
1488 ret = id3tag_set_albumart(gfp, albumart, size) ? 4 : 0; in set_id3_albumart()
1490 free(albumart); in set_id3_albumart()
1496 case 2: error_printf("Insufficient memory for reading the albumart.\n"); break; in set_id3_albumart()

Completed in 7 milliseconds