Index: apps/tagtree.c =================================================================== RCS file: /cvsroot/rockbox/apps/tagtree.c,v retrieving revision 1.29 diff -u -r1.29 tagtree.c --- apps/tagtree.c 15 Aug 2006 12:27:05 -0000 1.29 +++ apps/tagtree.c 18 Aug 2006 08:16:38 -0000 @@ -475,7 +475,7 @@ return ; } - si = (struct search_instruction *)(((long)audiobuf & ~0x03) + 0x04); + si = (struct search_instruction *)buffer_alloc(0); while ( 1 ) { @@ -515,7 +515,7 @@ } close(fd); - audiobuf += sizeof(struct search_instruction) * si_count + 4; + (void) buffer_alloc(sizeof(struct search_instruction) * si_count + 4); audio_set_track_buffer_event(tagtree_buffer_event); audio_set_track_unbuffer_event(tagtree_unbuffer_event);