comparison codec-cfg.c @ 13946:e632b43f0598

Reduce excessive verbosity.
author diego
date Mon, 15 Nov 2004 09:09:29 +0000
parents 589b227e3367
children 36247dd04782
comparison
equal deleted inserted replaced
13945:c917b3ff0b27 13946:e632b43f0598
501 nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t); 501 nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t);
502 return 1; 502 return 1;
503 #endif 503 #endif
504 } 504 }
505 505
506 mp_msg(MSGT_CODECCFG,MSGL_INFO,MSGTR_ReadingFile, cfgfile); 506 mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_ReadingFile, cfgfile);
507 507
508 if ((fp = fopen(cfgfile, "r")) == NULL) { 508 if ((fp = fopen(cfgfile, "r")) == NULL) {
509 mp_msg(MSGT_CODECCFG,MSGL_ERR,MSGTR_CantOpenFileError, cfgfile, strerror(errno)); 509 mp_msg(MSGT_CODECCFG,MSGL_V,MSGTR_CantOpenFileError, cfgfile, strerror(errno));
510 return 0; 510 return 0;
511 } 511 }
512 512
513 if ((line = (char *) malloc(MAX_LINE_LEN + 1)) == NULL) { 513 if ((line = (char *) malloc(MAX_LINE_LEN + 1)) == NULL) {
514 mp_msg(MSGT_CODECCFG,MSGL_FATAL,MSGTR_CantGetMemoryForLine, strerror(errno)); 514 mp_msg(MSGT_CODECCFG,MSGL_FATAL,MSGTR_CantGetMemoryForLine, strerror(errno));