# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1199986792 -3600 # Node ID 1457b35713d906a000fe726278b95a54c1d5f8c9 # Parent 0f8450380020ad7afda89501cf63efe1266b0b23 remove obsolete function diff -r 0f8450380020 -r 1457b35713d9 src/madplug/input.c --- a/src/madplug/input.c Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/input.c Thu Jan 10 18:39:52 2008 +0100 @@ -107,7 +107,7 @@ // obtain file size info->size = aud_vfs_fsize(info->infile); info->remote = info->size == 0 ? TRUE : FALSE; //proxy connection may result in non-zero size. - if(audmad_is_remote((gchar *)url)) + if(aud_vfs_is_remote((gchar *)url)) info->remote = TRUE; info->fileinfo_request = FALSE; diff -r 0f8450380020 -r 1457b35713d9 src/madplug/plugin.c --- 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"); diff -r 0f8450380020 -r 1457b35713d9 src/madplug/plugin.h --- a/src/madplug/plugin.h Thu Jan 10 18:33:59 2008 +0100 +++ b/src/madplug/plugin.h Thu Jan 10 18:39:52 2008 +0100 @@ -137,7 +137,6 @@ // prototypes void audmad_config_compute(struct audmad_config_t *config); -gboolean audmad_is_remote(gchar *url); void input_process_remote_metadata(struct mad_info_t *info); gpointer decode_loop(gpointer arg); void audmad_error(gchar * fmt, ...);