[MPlayer-dev-eng] [PATCH] Do not read codecs.conf files by default
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jan 15 23:09:02 CET 2007
Hello,
On Sat, Jan 13, 2007 at 01:02:54PM +0100, Diego Biurrun wrote:
> Index: mplayer.c
> ===================================================================
> --- mplayer.c (revision 21906)
> +++ mplayer.c (working copy)
> @@ -3714,15 +3714,10 @@
>
> /* Check codecs.conf. */
> if(!codecs_file || !parse_codec_cfg(codecs_file)){
> - if(!parse_codec_cfg(mem_ptr=get_path("codecs.conf"))){
> - if(!parse_codec_cfg(MPLAYER_CONFDIR "/codecs.conf")){
On thinking again, I suggest changing it to
if (parse_codec_cfg(mem_ptr=get_path("codecs.conf")) ||
parse_codec_cfg(MPLAYER_CONFDIR "/codecs.conf")) {
printf(EEVILUSER);
exit();
}
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list