# HG changeset patch # User arpi # Date 1020016125 0 # Node ID 111d2406a87a29b06e0fb52ea7e651717021f388 # Parent 90730a179d186b4e6979ec7c2aa1ee4a5c70aba3 do cpudetect before anything else diff -r 90730a179d18 -r 111d2406a87a mencoder.c --- a/mencoder.c Sun Apr 28 17:46:15 2002 +0000 +++ b/mencoder.c Sun Apr 28 17:48:45 2002 +0000 @@ -334,14 +334,6 @@ mp_msg_set_level(MSGL_STATUS); mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s",banner_text); -// check codec.conf -if(!parse_codec_cfg(get_path("codecs.conf"))){ - if(!parse_codec_cfg(CONFDIR"/codecs.conf")){ - mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf); - mencoder_exit(1,NULL); - } -} - /* Test for cpu capabilities (and corresponding OS support) for optimizing */ #ifdef ARCH_X86 GetCpuCaps(&gCpuCaps); @@ -351,6 +343,14 @@ gCpuCaps.hasSSE, gCpuCaps.hasSSE2); #endif +// check codec.conf +if(!parse_codec_cfg(get_path("codecs.conf"))){ + if(!parse_codec_cfg(CONFDIR"/codecs.conf")){ + mp_msg(MSGT_MENCODER,MSGL_HINT,MSGTR_CopyCodecsConf); + mencoder_exit(1,NULL); + } +} + // check font #ifdef USE_OSD if(font_name){