Mercurial > mplayer.hg
diff loader/module.c @ 31944:68574c0269e4
Disable loading codecs from the current directory.
While convenient, it is too risky.
| author | reimar |
|---|---|
| date | Fri, 27 Aug 2010 16:28:53 +0000 |
| parents | 1edec80a4ad7 |
| children | 2a2e9b6551d8 |
line wrap: on
line diff
--- a/loader/module.c Fri Aug 27 16:19:24 2010 +0000 +++ b/loader/module.c Fri Aug 27 16:28:53 2010 +0000 @@ -381,6 +381,10 @@ // if(fs_installed==0) // install_fs(); + // Do not load libraries from a path relative to the current directory + if (*libname != '/') + i++; + while (wm == 0 && listpath[++i]) { if (i < 2)
