diff mencoder.c @ 30855:977fd535cc9d

Add -codecpath option. It allows to search binary codecs in non-standard directories.
author komh
date Mon, 15 Mar 2010 08:30:06 +0000
parents 82dd2fbdb772
children adf8008a338f
line wrap: on
line diff
--- a/mencoder.c	Mon Mar 15 06:39:21 2010 +0000
+++ b/mencoder.c	Mon Mar 15 08:30:06 2010 +0000
@@ -534,6 +534,11 @@
   set_priority();
 #endif
 
+#ifdef CONFIG_WIN32DLL
+  if (codec_path)
+    SetCodecPath(codec_path);
+#endif
+
 // check font
 #ifdef CONFIG_FREETYPE
   init_freetype();