Mercurial > audlegacy-plugins
diff src/madplug/plugin.c @ 2291:1457b35713d9
remove obsolete function
author | mf0102 <0102@gmx.at> |
---|---|
date | Thu, 10 Jan 2008 18:39:52 +0100 |
parents | d25cd7e7eddb |
children | 47d7a45b26a0 |
line wrap: on
line diff
--- a/src/madplug/plugin.c Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/plugin.c Thu Jan 10 18:39:52 2008 +0100 @@ -289,12 +289,6 @@ ((unsigned long) hbuf[2] << 8) | (unsigned long) hbuf[3]; } -gboolean audmad_is_remote(gchar *url) -{ - gboolean rv = aud_vfs_is_remote(url); - return rv; -} - // audacious vfs fast version static int audmad_is_our_fd(char *filename, VFSFile *fin) { @@ -305,10 +299,7 @@ guchar tmp[4096]; gint ret, i, frameSize; - info.remote = FALSE; - - if(audmad_is_remote(filename)) - info.remote = TRUE; + info.remote = aud_vfs_is_remote(filename); /* I've seen some flac files beginning with id3 frames.. so let's exclude known non-mp3 filename extensions */ @@ -445,7 +436,7 @@ } // remote access must use fast scan. - rtn = input_get_info(&info, audmad_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc); + rtn = input_get_info(&info, aud_vfs_is_remote(url) ? TRUE : audmad_config.fast_play_time_calc); if (rtn == FALSE) { g_message("error reading input info");