# HG changeset patch # User ods15 # Date 1133870354 0 # Node ID 1bfbe748d90819de2b45122f86be2cc7623522e1 # Parent ba9bf9beb23f2012f37616103c55cebcfcb81153 100l, codec-cfg needs fixing after -msgl patch diff -r ba9bf9beb23f -r 1bfbe748d908 codec-cfg.c --- a/codec-cfg.c Tue Dec 06 11:17:26 2005 +0000 +++ b/codec-cfg.c Tue Dec 06 11:59:14 2005 +0000 @@ -886,6 +886,10 @@ int use_gui = 0; #endif +int mp_msg_levels[MSGT_MAX]; +int mp_msg_level_all = MSGL_STATUS; +int verbose = 0; + void wrapline(FILE *f2,char *s){ int c; if(!s){ @@ -998,6 +1002,8 @@ int dshow=-1; int win32ex=-1; + mp_msg_init(); + /* * Take path to codecs.conf from command line, or fall back on * etc/codecs.conf @@ -1146,11 +1152,17 @@ #endif #ifdef TESTING +int mp_msg_levels[MSGT_MAX]; +int mp_msg_level_all = MSGL_STATUS; +int verbose = 0; + int main(void) { codecs_t *c; int i,j, nr_codecs, state; + mp_msg_init(); + if (!(parse_codec_cfg("etc/codecs.conf"))) return 0; if (!video_codecs)