comparison src/madplug/plugin.c @ 1326:e991d29a9c9a

madplug: Fix ID3v1 tuple building.
author William Pitcock <nenolod@atheme-project.org>
date Sat, 21 Jul 2007 12:20:00 -0500
parents f7b7dfaf1e33
children 38fb3bb3e21e
comparison
equal deleted inserted replaced
1324:f7b7dfaf1e33 1326:e991d29a9c9a
759 static TitleInput *audmad_probe_for_tuple(char *filename, VFSFile *fd) 759 static TitleInput *audmad_probe_for_tuple(char *filename, VFSFile *fd)
760 { 760 {
761 if (!audmad_is_our_fd(filename, fd)) 761 if (!audmad_is_our_fd(filename, fd))
762 return NULL; 762 return NULL;
763 763
764 vfs_rewind(fd);
765
764 return __audmad_get_song_tuple(filename, fd); 766 return __audmad_get_song_tuple(filename, fd);
765 } 767 }
766 768
767 static gchar *fmts[] = { "mp3", "mp2", "mpg", NULL }; 769 static gchar *fmts[] = { "mp3", "mp2", "mpg", NULL };
768 770