diff src/mpg123/mpg123.c @ 372:a157306caf03 trunk

[svn] - finalize the plugin-side of the extension-assist ABI
author nenolod
date Tue, 12 Dec 2006 19:43:23 -0800
parents c812e846b84e
children 1716423d29fe
line wrap: on
line diff
--- a/src/mpg123/mpg123.c	Tue Dec 12 19:03:49 2006 -0800
+++ b/src/mpg123/mpg123.c	Tue Dec 12 19:43:23 2006 -0800
@@ -963,6 +963,8 @@
                      G_CALLBACK(gtk_widget_destroyed), &aboutbox);
 }
 
+gchar *mpgdec_fmts[] = { "mp3", "mp2", "mpa", "mpg", NULL };
+
 InputPlugin mpgdec_ip = {
     NULL,
     NULL,
@@ -989,7 +991,7 @@
     NULL,
     NULL,
     is_our_fd,
-    { "mp3", "mp2", "mpa", "mpg", NULL },
+    mpgdec_fmts,
 };
 
 InputPlugin *