changeset 2687:206f0322d221

Remove the obsolete is_our_file() function.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Jun 2008 06:41:10 +0300
parents 7317dff666f9
children 17da667fb14d
files src/madplug/plugin.c
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/plugin.c	Thu Jun 05 16:04:52 2008 +0300
+++ b/src/madplug/plugin.c	Fri Jun 06 06:41:10 2008 +0300
@@ -329,24 +329,6 @@
     return 0;
 }
 
-// audacious vfs version
-static int
-audmad_is_our_file(char *filename)
-{
-    VFSFile *fin = NULL;
-    gint rtn;
-
-    fin = aud_vfs_fopen(filename, "rb");
-
-    if (fin == NULL)
-        return 0;
-
-    rtn = audmad_is_our_fd(filename, fin);
-    aud_vfs_fclose(fin);
-
-    return rtn;
-}
-
 static void
 audmad_stop(InputPlayback *playback)
 {
@@ -750,7 +732,6 @@
     .init = audmad_init,
     .about = audmad_about,
     .configure = audmad_configure,
-    .is_our_file = audmad_is_our_file,
     .play_file = audmad_play_file,
     .stop = audmad_stop,
     .pause = audmad_pause,