diff mencoder.c @ 30900:e907ff9e7e77

Move SetCodecPath() from loader to get_path.c and make it unconditional. This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled.
author diego
date Sat, 20 Mar 2010 23:27:07 +0000
parents c0fe89cf9803
children 76a13038105e
line wrap: on
line diff
--- a/mencoder.c	Sat Mar 20 01:33:54 2010 +0000
+++ b/mencoder.c	Sat Mar 20 23:27:07 2010 +0000
@@ -65,7 +65,6 @@
 #include "mp_fifo.h"
 #include "get_path.h"
 
-#include "loader/codecpath.h"
 #include "stream/stream.h"
 #include "libmpdemux/aviprint.h"
 #include "libmpdemux/demuxer.h"
@@ -667,10 +666,8 @@
   set_priority();
 #endif
 
-#ifdef CONFIG_WIN32DLL
   if (codec_path)
     SetCodecPath(codec_path);
-#endif
 
 // check font
 #ifdef CONFIG_FREETYPE