# HG changeset patch # User nenolod # Date 1180049556 25200 # Node ID b51246bc3fb3a040dc6920adb6fe5f1f4040b303 # Parent d0d7b6dd45f06998492fe82c584e1492ee745ad7 [svn] - wavpack: transition to plugin API v2 diff -r d0d7b6dd45f0 -r b51246bc3fb3 ChangeLog --- a/ChangeLog Thu May 24 16:30:56 2007 -0700 +++ b/ChangeLog Thu May 24 16:32:36 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-24 23:30:56 +0000 William Pitcock + revision [2324] + - musepack: transition to plugin API v2 + + trunk/src/musepack/libmpc.cxx | 11 ++++------- + 1 file changed, 4 insertions(+), 7 deletions(-) + + 2007-05-24 23:14:36 +0000 William Pitcock revision [2322] - vorbis: transition to plugin API v2 diff -r d0d7b6dd45f0 -r b51246bc3fb3 src/wavpack/libwavpack.cxx --- a/src/wavpack/libwavpack.cxx Thu May 24 16:30:56 2007 -0700 +++ b/src/wavpack/libwavpack.cxx Thu May 24 16:32:36 2007 -0700 @@ -248,13 +248,9 @@ } }; -extern "C" InputPlugin * -get_iplugin_info(void) -{ - mod.description = - g_strdup_printf(("Wavpack Decoder Plugin %s"), VERSION); - return &mod; -} +InputPlugin *wv_iplist[] = { &mod, NULL }; + +DECLARE_PLUGIN(wavpack, NULL, NULL, wv_iplist, NULL, NULL, NULL, NULL); static int wv_is_our_fd(gchar *filename, VFSFile *file)