Home
last modified time | relevance | path

Searched refs:found_album (Results 1 – 1 of 1) sorted by relevance

/external/libmtp/examples/
Dsendtr.c95 LIBMTP_album_t *found_album = NULL; in add_track_to_album() local
110 found_album = album; in add_track_to_album()
112 found_album->next = NULL; in add_track_to_album()
122 if (found_album != NULL) { in add_track_to_album()
125 tracks = (uint32_t *)malloc((found_album->no_tracks+1) * sizeof(uint32_t)); in add_track_to_album()
126 printf("Album \"%s\" found: updating...\n", found_album->name); in add_track_to_album()
131 found_album->no_tracks++; in add_track_to_album()
132 if (found_album->tracks != NULL) { in add_track_to_album()
133 memcpy(tracks, found_album->tracks, found_album->no_tracks * sizeof(uint32_t)); in add_track_to_album()
134 free(found_album->tracks); in add_track_to_album()
[all …]