Mercurial > audlegacy
changeset 3200:95cfda3878da trunk
oops, using a C0X extension (break-from-if) probably isn't cool here.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Wed, 01 Aug 2007 03:38:35 -0500 |
parents | 88b8338b8cf4 |
children | e1470a536417 |
files | src/audacious/input.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/input.c Wed Aug 01 03:37:06 2007 -0500 +++ b/src/audacious/input.c Wed Aug 01 03:38:35 2007 -0500 @@ -410,11 +410,9 @@ !g_strncasecmp(filename, "file://", 7))) ? TRUE : FALSE; mimetype = vfs_get_metadata(fd, "content-type"); - if ((ip = mime_get_plugin(mimetype)) != NULL) + if ((ip = mime_get_plugin(mimetype)) != NULL && + input_is_enabled(ip->filename) == TRUE) { - if (!input_is_enabled(ip->filename)) - break; - if (ip->probe_for_tuple != NULL) { TitleInput *tuple = ip->probe_for_tuple(filename_proxy, fd);