comparison src/madplug/plugin.c @ 1033:34b998b6e3b2 trunk

[svn] fixed player crash when trying to get file info
author majeru
date Sat, 12 May 2007 04:29:22 -0700
parents bdf6ccf7bf53
children b3b02e58429f
comparison
equal deleted inserted replaced
1032:15e8890cb54d 1033:34b998b6e3b2
286 ((unsigned long) hbuf[2] << 8) | (unsigned long) hbuf[3]; 286 ((unsigned long) hbuf[2] << 8) | (unsigned long) hbuf[3];
287 } 287 }
288 288
289 gboolean audmad_is_remote(gchar *url) 289 gboolean audmad_is_remote(gchar *url)
290 { 290 {
291 if (!strncasecmp("http://", url, 7) || !strncasecmp("https://", url, 8)) 291 if (!strncasecmp("http://", url, 7)
292 || !strncasecmp("https://", url, 8)
293 || !strncasecmp("lastfm://", url, 9))
292 return TRUE; 294 return TRUE;
293 else 295 else
294 return FALSE; 296 return FALSE;
295 } 297 }
296 298