[Mplayer-cvslog] CVS: main xacodec.c,1.29,1.30
Alex Beregszaszi
alex at mplayer.dev.hu
Thu Feb 14 19:17:24 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv8940
Modified Files:
xacodec.c
Log Message:
use the XANIM_MOD_DIR env. var as described in xanim's docs
Index: xacodec.c
===================================================================
RCS file: /cvsroot/mplayer/main/xacodec.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- xacodec.c 25 Nov 2001 16:47:04 -0000 1.29
+++ xacodec.c 14 Feb 2002 18:17:14 -0000 1.30
@@ -260,6 +260,9 @@
for (i=0; i < XA_CLOSE_FUNCS; i++)
xacodec_driver->close_func[i] = NULL;
+ if (getenv("XANIM_MOD_DIR"))
+ xacodec_def_path = getenv("XANIM_MOD_DIR");
+
snprintf(dll, 1024, "%s/%s", xacodec_def_path, vidinfo->codec->dll);
if (xacodec_init(dll, xacodec_driver) == 0)
return(0);
More information about the MPlayer-cvslog
mailing list