Mercurial > audlegacy
diff src/audacious/input.c @ 2427:64948ea58c53 trunk
[svn] - revise logic of r3808 so that cdaudio works again.
author | yaz |
---|---|
date | Sat, 27 Jan 2007 07:34:13 -0800 |
parents | b23f52fe132f |
children | 4e2fc64d95ef |
line wrap: on
line diff
--- a/src/audacious/input.c Sat Jan 27 06:09:45 2007 -0800 +++ b/src/audacious/input.c Sat Jan 27 07:34:13 2007 -0800 @@ -424,9 +424,6 @@ filename_proxy = g_strdup(filename); fd = vfs_buffered_file_new_from_uri(filename_proxy); - if(!fd) - return NULL; - ext = strrchr(filename_proxy, '.') + 1; use_ext_filter = (fd != NULL && (!g_strncasecmp(filename, "/", 1) || !g_strncasecmp(filename, "file://", 7))) ? TRUE : FALSE; @@ -460,7 +457,7 @@ continue; } - if (ip->is_our_file_from_vfs != NULL) + if (fd && ip->is_our_file_from_vfs != NULL) { ret = ip->is_our_file_from_vfs(filename_proxy, fd);