diff mpcommon.c @ 30872:eb1b97313903

Follow a more proper way to support -codecpath. 1. Include loader/drv.h for SetCodecPath() instead of a declaration of it. 2. Move codec_path from get_path.h to mpcommon.h and mpcommon.c.
author komh
date Wed, 17 Mar 2010 09:12:51 +0000
parents c1a3f1bbba26
children 565f6d0f0d2a
line wrap: on
line diff
--- a/mpcommon.c	Tue Mar 16 22:08:56 2010 +0000
+++ b/mpcommon.c	Wed Mar 17 09:12:51 2010 +0000
@@ -313,3 +313,8 @@
 #endif /* CONFIG_GUI */
     {NULL, NULL, 0, 0, 0, 0, NULL}
 };
+
+#ifdef CONFIG_WIN32DLL
+char *codec_path = NULL;
+#endif
+