search codecs.conf at CONFDIR

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3749 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-12-25 21:59:07 +00:00
parent 194d23b1eb
commit 5df17becc8
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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 :((((((