Mercurial > mplayer.hg
diff loader/module.c @ 30907:b32527b30d17
Get rid of pointless def_path variable; use codec_path directly instead.
author | diego |
---|---|
date | Tue, 23 Mar 2010 18:01:00 +0000 |
parents | 76a13038105e |
children | e1e4487b9b43 |
line wrap: on
line diff
--- a/loader/module.c Tue Mar 23 17:52:46 2010 +0000 +++ b/loader/module.c Tue Mar 23 18:01:00 2010 +0000 @@ -393,9 +393,9 @@ strncpy(path, libname, 511); else /* check default user path */ - strncpy(path, def_path, 300); + strncpy(path, codec_path, 300); } - else if (strcmp(def_path, listpath[i])) + else if (strcmp(codec_path, listpath[i])) /* path from the list */ strncpy(path, listpath[i], 300); else