aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 21:59:07 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 21:59:07 +0000
commit5df17becc8b1bf6743a54bfe8cef2a71d377e2a5 (patch)
tree6c8f08fac3a90d3b8054766a2436f0462b23101f
parent194d23b1ebf63393d34072748756de0190b6c20d (diff)
search codecs.conf at CONFDIR
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3749 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mencoder.c2
-rw-r--r--mplayer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c
index f1588f393e..c3a4029c43 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -338,7 +338,7 @@ int decoded_frameno=0;
// 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 --git a/mplayer.c b/mplayer.c
index 3eaa7d6ab0..5006894ba8 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -553,7 +553,7 @@ int gui_no_filename=0;
// 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 :((((((