[MPlayer-dev-eng] [PATCH] one line patch to add codecs subdir to searchpath
Gianluigi Tiesi
mplayer at netfarm.it
Fri Feb 25 20:06:46 CET 2005
I've not tested on linux, but it shouldn't make problems,
on windows it permits a cleaner directory struct for mplayer.
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
diff -NubBr -xCVS -xhelp_mp.h -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log -xconfig.mak -x.cvsignore -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/mplayer.c sherpya/mplayer.c
--- main/mplayer.c 2005-02-25 19:53:31.939036800 +0100
+++ sherpya/mplayer.c 2005-02-25 19:54:55.509204800 +0100
@@ -1106,6 +1106,7 @@
sprintf(tmppath,"%s;%s",win32path,realpath);
#endif /*USE_REALCODECS*/
#endif /*__CYGWIN__*/
+ sprintf(tmppath,"%s;%s/codecs", tmppath, win32path);
SetEnvironmentVariableA("PATH", tmppath);
}
#endif /*WIN32 && USE_WIN32DLL*/
More information about the MPlayer-dev-eng
mailing list