diff src/vorbis/vorbis.c @ 546:c712bcf64b14 trunk

[svn] - this should have been a VFSVorbisFile, not a direct VFS fd
author nenolod
date Thu, 25 Jan 2007 04:50:20 -0800
parents f9dc3d58207a
children 324a6d834f32
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Thu Jan 25 04:43:18 2007 -0800
+++ b/src/vorbis/vorbis.c	Thu Jan 25 04:50:20 2007 -0800
@@ -859,7 +859,7 @@
         displaytitle = g_strdup(input->file_name);
     }
 
-    if ((tmp = vfs_get_metadata((VFSFile *) vorbisfile->datasource, "stream-name")) != NULL)
+    if ((tmp = vfs_get_metadata(((VFSVorbisFile *) vorbisfile->datasource)->fd, "stream-name")) != NULL)
     {
         gchar *old = displaytitle;
         displaytitle = g_strdup_printf("%s (%s)", displaytitle, tmp);