changeset 4156:a2da130cdafa

If no plugins claim that they can support a file extension, try them all just to be sure. (Bugzilla #80)
author Jack Kelly <weldingmaskman@hotmail.com>
date Wed, 09 Jan 2008 09:37:35 -0600
parents ae231a103173
children e474286a4c23 e8c79a8b9d9b
files src/audacious/input.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/input.c	Fri Jan 04 14:42:13 2008 +0100
+++ b/src/audacious/input.c	Wed Jan 09 09:37:35 2008 -0600
@@ -516,11 +516,11 @@
                     return pr;
                 }
             }
+
+	    g_free(filename_proxy);
+	    vfs_fclose(fd);
+	    return NULL; // no plugin found.
         }
-
-        g_free(filename_proxy);
-        vfs_fclose(fd);
-        return NULL; // no plugin found.
     }