changeset 3748:6da59751fb20

search codecs.conf at CONFDIR
author arpi
date Tue, 25 Dec 2001 21:59:07 +0000
parents bd99dedefa01
children 99de682ffb84
files mencoder.c mplayer.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
   }
--- 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 :((((((