From 11eeaf5005b64a49d7338303610a01d0b2d4f955 Mon Sep 17 00:00:00 2001 From: komh Date: Wed, 17 Mar 2010 09:12:51 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30914 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 77400a0ed0..cb9d276c3a 100644 --- a/mplayer.c +++ b/mplayer.c @@ -95,6 +95,10 @@ #include "input/input.h" +#ifdef CONFIG_WIN32DLL +#include "loader/drv.h" // for SetCodecPath() +#endif + int slave_mode=0; int player_idle_mode=0; int quiet=0; -- cgit v1.2.3