diff mplayer.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/mplayer.c	Sat Mar 20 01:33:54 2010 +0000
+++ b/mplayer.c	Sat Mar 20 23:27:07 2010 +0000
@@ -94,7 +94,6 @@
 #include "gui/interface.h"
 
 #include "input/input.h"
-#include "loader/codecpath.h"
 
 int slave_mode=0;
 int player_idle_mode=0;
@@ -2702,10 +2701,8 @@
     set_priority();
 #endif
 
-#ifdef CONFIG_WIN32DLL
   if (codec_path)
     SetCodecPath(codec_path);
-#endif
 
 #ifndef CONFIG_GUI
     if(use_gui){