diff mencoder.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 418cbee8e099
children ff7b06c867cd
line wrap: on
line diff
--- a/mencoder.c	Tue Mar 16 22:08:56 2010 +0000
+++ b/mencoder.c	Wed Mar 17 09:12:51 2010 +0000
@@ -65,6 +65,10 @@
 #include "mp_fifo.h"
 #include "get_path.h"
 
+#ifdef CONFIG_WIN32DLL
+#include "loader/drv.h"         // for SetCodecPath()
+#endif
+
 #include "stream/stream.h"
 #include "libmpdemux/aviprint.h"
 #include "libmpdemux/demuxer.h"