# HG changeset patch # User arpi # Date 1009317547 0 # Node ID 6da59751fb2039680706537a20626041b5ef13bc # Parent bd99dedefa012fc06ec4eb91a5db461d59a9b121 search codecs.conf at CONFDIR diff -r bd99dedefa01 -r 6da59751fb20 mencoder.c --- a/mencoder.c Tue Dec 25 21:58:10 2001 +0000 +++ b/mencoder.c Tue Dec 25 21:59:07 2001 +0000 @@ -338,7 +338,7 @@ // check codec.conf if(!parse_codec_cfg(get_path("codecs.conf"))){ - if(!parse_codec_cfg(DATADIR"/codecs.conf")){ + if(!parse_codec_cfg(CONFDIR"/codecs.conf")){ mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf); exit(0); } diff -r bd99dedefa01 -r 6da59751fb20 mplayer.c --- a/mplayer.c Tue Dec 25 21:58:10 2001 +0000 +++ b/mplayer.c Tue Dec 25 21:59:07 2001 +0000 @@ -553,7 +553,7 @@ // check codec.conf if(!parse_codec_cfg(get_path("codecs.conf"))){ - if(!parse_codec_cfg(DATADIR"/codecs.conf")){ + if(!parse_codec_cfg(CONFDIR"/codecs.conf")){ mp_msg(MSGT_CPLAYER,MSGL_HINT,MSGTR_CopyCodecsConf); // printf("Exit.\n"); // exit(0); // From unknown reason a hangup occurs here :((((((